Hi Andy,
On Jul 23, 2010, at 5:38 PM, Andy wrote:
> I’m trying to get the size of an opaque dataset element so that I can
> allocate the buf before doing the H5Dread().Is there a way to do this?
>
> Each element in the dataset should have a different size as it’s just a 1
> dimensional array of blobs...
>
> I could switch from opaque to vlen strings if that would be better, or
> perhaps write the size out in an attribute... but I’m surely missing
> something... there must be a way...
>
> Any help appreciated...
It's late and I haven't checked the docs, but I would think that
H5Tget_size() should give you what you want.
Quincey
_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org