Ah, that capability also exists but not in a currently released version
of HDF5. I think it is available in HDF5-1.9 series. Maybe someone from
HDF Group could point you in the right direction. Also, have a looksee
here...

https://visitbugs.ornl.gov/attachments/66/load_core_file_driver_from_image_RFC_v04.pdf

Hopefully, Quincy Koziol might be able point you to actual HDF5 version
tarball supporting this.

Mark

On Tue, 2012-04-24 at 12:45 -0700, Adam Wierzchowski wrote:
> Hi,
> thank you. Exactly what I needed. But what about reading these data. I
> need something like:
> H5Fcreate...
> H5InitializeWithRawBytesFromMemory(void* dataPointer, int
> dataLengthInBytes)
> 
> regards
> Adam
> 
> MM> If I am understanding you correctly, you can do that using the 'core'
> MM> virtual file driver (VFD). Have a look at...
> 
> MM> http://www.hdfgroup.org/HDF5/doc/RM/RM_H5P.html#Property-SetFaplCore
> 
> MM> You need to create a file-access or file-creation properties list object
> MM> with appropriate values set for the core VFD and it should behave as you
> MM> describe.
> 
> MM> Good luck.
> 
> MM> Mark
> 
> MM> 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
> 
> 
> _______________________________________________
> 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