for fixed langth, just replace the H5T_VARIABLE with the length you want
to set.
On 12/11/2012 12:32 PM, Nathan Smith wrote:
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]
<mailto:[email protected]>> wrote:
Hi Nathan,
On Tue, Dec 11, 2012 at 11:20 AM, Nathan Smith
<[email protected] <mailto:[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] <mailto:[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