Adam,

User documentation for this feature is nearly complete and is currently in 
review.  Note that the address below is NOT permanent; the docs will be in the 
usual place at www.hdfgroup.org/HDF5/doc/ once HDF5 Release 1.8.9 is final. 


In the meantime, the docs are TEMPORARILY available here:

Overview:
    
http://www.hdfgroup.org/HDF5/doc_test/H51.8docs/Advanced/FileImageOperations/HDF5FileImageOperations.pdf

Reference manual entries:
The relevant reference manual entries are all cross-referenced from "See Also" 
in the H5PFget_file_image entry:
    
http://www.hdfgroup.org/HDF5/doc_test/H51.8docs/RM/RM_H5F.html#File-GetFileImage

Note that there is one high-level function that may suit your needs, 
H5LTopen_file_iamge.  Several low-level H5F and H5P functions are provided for 
situations requiring more customization.


Please let me know if you experience any difficulty with these documents.   
Thanks!
 
-- Frank
   HDF Documentation Team
   [email protected]



On  24 Apr 2012, at 15:38 PM, Adam Wierzchowski wrote:
> Excellent. Where can I find more information on this. I don't see anything 
> like that in hdf5-1.8.9-pre1-RELEASE.txt.
> 
> regards
> Adam
> 
> On 2012-04-24 22:34, Quincey Koziol wrote:
>> Hi Mark/Adam,
>>      The "file image" feature is available in the upcoming 1.8.9 release, 
>> which has a prerelease candidate available here:
>> 
>>      http://www.hdfgroup.uiuc.edu/ftp/pub/outgoing/hdf5/hdf5-1.8.9-pre1/
>> 
>>      Quincey
>> 
>> On Apr 24, 2012, at 2:53 PM, Mark Miller wrote:
>> 
>>> 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
>> 
> 
> 
> _______________________________________________
> 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

Reply via email to