Hi Nathan,

 

Does the example c++/examples/h5group.cpp in our distribution help?

 

Binh-Minh

 

  _____  

From: Hdf-forum [mailto:[email protected]] On Behalf Of Nathan
Smith
Sent: Tuesday, December 11, 2012 1:33 PM
To: HDF Users Discussion List
Subject: Re: [Hdf-forum] HDF5 string dataset compression

 

I know the length of the string a priori.  Can you point me to an example of
writing out a fixed length string that uses compression?

 

Thanks!

 

Nathan

On Tue, Dec 11, 2012 at 12:29 PM, Dana Robinson <[email protected]>
wrote:

Hi Nathan,

On Tue, Dec 11, 2012 at 11:20 AM, Nathan Smith <[email protected]>
wrote:

Hi all,

 

I'm very new to HDF5 and am trying to find an example of how to compress a
string written to an HDF5 file.  I've been using the C++ API and writing
scalar strings to my dataset, but I can't figure out how to use data
chunking so that I can enable compression. 

 

Variable-length data cannot be compressed due to the way we store it in the
HDF5 library.

 

Dana 


_______________________________________________
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