If I am understanding you correctly, you can do that using the 'core'
virtual file driver (VFD). Have a look at...

http://www.hdfgroup.org/HDF5/doc/RM/RM_H5P.html#Property-SetFaplCore

You need to create a file-access or file-creation properties list object
with appropriate values set for the core VFD and it should behave as you
describe.

Good luck.

Mark

On Tue, 2012-04-24 at 06:55 -0700, Adam Wierzchowski wrote:
> Hi,
> I have my custom format where I keep all kinds of data: strings, arrays 
> etc. I'd also like to keep chunk of data which is basically whole hdf 
> file. Is it possible?
> Idea is to keep hdf5 file in memory and dump all that data to my file. 
> When reading just read all that data to memory and read from it with 
> hdf5 functions. Problem is that haven't found functions which will allow 
> me to do that in hdf5 docs.
> 
> hope you can help me
> regards
> Adam
> 
> _______________________________________________
> Hdf-forum is for HDF software users discussion.
> [email protected]
> http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org
-- 
Mark C. Miller, Lawrence Livermore National Laboratory
================!!LLNL BUSINESS ONLY!!================
[email protected]      urgent: [email protected]
T:8-6 (925)-423-5901    M/W/Th:7-12,2-7 (530)-753-8511


_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org

Reply via email to