Is it possible to pipe HDF5 formated data? -
it possible write hdf5 stdout , read stdin (via h5::file file("/dev/stdout",h5f_acc_rdonly)
or otherwise)?
what want have program foo
write hdf5 file (taken first argument, say) , program bar
read hdf5 file , instead of
command_prompt> foo temp.h5 command_prompt> bar temp.h5 command_prompt> rm temp.h5
simply say
command_prompt> foo - | bar -
where programs foo
, bar
understand special file name -
mean stdout
, stdin
respectively. in order write programs, want know 1) whether @ possible , 2) how implement this, i.e. pass h5fcreate()
, h5fopen()
, respectively, in case file name = -
.
i tried , seems impossible (not big surprise). hdf5 has h5fcreate()
, h5fopen()
, , h5freopen()
, neither of seems support i/o stdin/stdout
.
i not think can use stdin
hdf5 input file. library needs seek around between header contents , data, , cannot stdin
.
Comments
Post a Comment