Reading individual member of a compound datatype

Hi all,
Is it possible to read the value of an individual member variable from a
compound datatype? This compound datatype may be inside an attribute. I can
find its name, class, datatype etc. but cannot seem to find how I can read
the value of an individual member. I will not know the structure of the
compound datatype beforehand. Any thoughts on how I may be able to do so?

Thanks,
--Tanzima

Hi Tanzima,

···

On Aug 6, 2010, at 12:15 PM, Tanzima Zerin Islam wrote:

Hi all,
Is it possible to read the value of an individual member variable from a compound datatype? This compound datatype may be inside an attribute. I can find its name, class, datatype etc. but cannot seem to find how I can read the value of an individual member. I will not know the structure of the compound datatype beforehand. Any thoughts on how I may be able to do so?

  Yes, that's certainly possible. Take a look at the examples/h5_compound.c code that is distributed with the HDF5 package.

  Quincey