-
Notifications
You must be signed in to change notification settings - Fork 15
bfbin2hdf5
bfbin2hdf5 - convert Byfl output to an HDF5 data file
bfbin2hdf5 input_file.byfl [output_file.h5]
By default, applications instrumented with Byfl write measurement data
to a binary .byfl
file. bfbin2hdf5 converts such files to HDF5
data files. These can be viewed with the
HDFView GUI or
processed with various command-line tools.
bfbin2hdf5 has no command-line options. The program accepts the
name of a .byfl
file to read and a HDF5 data file to create. If
not specified, the name of the data file will be the same as that of
the input file but with .byfl
replaced with .h5
. (If the file
name does not end in .byfl
then .h5
will be appended to the file
name.)
The simplest usage is just
$ bfbin2hdf5 myprog.byfl
which produces myprog.h5
.
If the .byfl
file is expected to be used only to produce the HDF5
data file and then deleted, one can save time and disk space by
writing Byfl binary output to a named pipe and running bfbin2hdf5
on that named pipe:
$ mkfifo myprog.pipe
$ bfbin2hdf5 myprog.pipe myprog.h5 &
$ env BF_BINOUT=myprog.pipe ./myprog
$ rm myprog.pipe
bfbin2cgrind(1), bfbin2csv(1), bfbin2hpctk(1), bfbin2sqlite3(1), bfbin2xmlss(1), bf-clang(1), bf-clang++(1), bf-flang(1), the Byfl home page, the HDF5 home page
Scott Pakin, [email protected]