H5T_C_S1 -- partial reads?

Hmm. I have a dataset that is of type H5T_C_S1. Is there any way to do
partial reads? (e.g. if the string on disk is 2MB but I don't want to
allocate one huge buffer of 2MB in memory?)

Jason Sachs
Electrical Engineer
DEKA Research and Development
340 Commercial Street
Manchester, NH 03101
(603) 669 5139

···

----------------------------------------------------------------------
This mailing list is for HDF software users discussion.
To subscribe to this list, send a message to hdf-forum-subscribe@hdfgroup.org.
To unsubscribe, send a message to hdf-forum-unsubscribe@hdfgroup.org.

Hi Jason,

Hmm. I have a dataset that is of type H5T_C_S1. Is there any way to do
partial reads? (e.g. if the string on disk is 2MB but I don't want to
allocate one huge buffer of 2MB in memory?)

  Currently, the HDF5 APIs only allow strings to be read in their entirety. We've considered expanding the datatype API to allow this, but it looks like it might be complex/confusing for users. If you've got any ideas about this, please feel free to post them to the mailing list - possibly someone will run with it and submit a patch, or we can find funding to implement the feature.

  Quincey

···

On Mar 26, 2008, at 11:20 AM, Jason Sachs wrote:

----------------------------------------------------------------------
This mailing list is for HDF software users discussion.
To subscribe to this list, send a message to hdf-forum-subscribe@hdfgroup.org.
To unsubscribe, send a message to hdf-forum-unsubscribe@hdfgroup.org.