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
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".
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".
--
___________________________________________________________________________
Dr. Werner Benger Visualization Research
Laboratory for Creative Arts and Technology (LCAT)
Center for Computation & Technology at Louisiana State University (CCT/LSU)
211 Johnston Hall, Baton Rouge, Louisiana 70803
Tel.: +1 225 578 4809 Fax.: +1 225 578-5362