Jebb,

Would it not work to H5OCopy your array into a memory file? See http://www.hdfgroup.org/HDF5/doc1.6/UG/08_TheFile.html, section 8.8 on the CORE driver.

--dan



On 04/25/14 19:02, Jebb Q Stewart wrote:


I am looking for a way to read in a chunk of data from a HDF5 file without
the decompression step.  This would be similar to how H5OCopy works when
copying between two hdf5 files, except I want the data to stay resident in
memory. Is it possible to read the compressed bytes of a chunk into a byte
array?

For additional background, data is stored using the deflate filter. I
define my read dimensions to match my original chunking parameters to read in one exact chunk at a time.

Thanks for the help.

Jebb



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

--
Daniel Kahn
Science Systems and Applications Inc.
301-867-2162

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

Reply via email to