Hi Thomas,

On Jul 2, 2010, at 1:44 PM, Thomas Robitaille wrote:

> Hello,
> 
> Is there a way to specify comments or definitions for attributes of groups or 
> datasets? In the Flexible Image Transport System (FITS) standard, this is 
> possible, as demonstrated in the following header chunk:
> 
> SIMPLE  =                    T
> BITPIX  =                  -16 / unsigned 16-bit integers
> NAXIS   =                    2 / 2-dimensional image
> NAXIS1  =                  100 / x dimension
> NAXIS2  =                  100 / y dimension
> 
> Is there a way to do this in HDF5?

        Not explicitly, no. However, you could define a convention where you 
created additional attributes for each attribute, something like an attribute 
named "foo" and another attribute named "foo_comment".

        Quincey


_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org

Reply via email to