Got it! Thank you.
Adam
On 2012-10-19 20:13, Quincey Koziol wrote:
Hi Adam,
On Oct 16, 2012, at 12:52 PM, Adam Wierzchowski <[email protected]> wrote:
Hi,
I need to create in-memory hfd5 file without any disc IO and without saving (or
reading) any data to disc. Here's copy/paste from HDF5FileImageOperations.pdf
<Open and construct the desired file with the Core file driver>
H5Fflush(fid);
size = H5Fget_file_image(fid, NULL, 0);
buffer_ptr = malloc(size);
H5Fget_file_image(fid, buffer_ptr, size);
First line is not clear. How do I open and construct file in memory without
using H5Fcreate which requires file name?
Using HDF5 1.8.9.
You'll need to use the filename with H5Fcreate(), but if you use the core VFD
without the "backing store" option enabled, it'll be ignored.
Quincey
_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org
_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org