Greetings,

I am trying to figure out how to attach units to some metadata that I try to
store as attributes with an HDF5 data set.

Here is an example of the metadata I am talking about:
      <imageRaster>
        <numberOfRows>5923</numberOfRows>
        <numberOfColumns>6048</numberOfColumns>
        <rowSpacing units="s">6.06688654869458333E-09</rowSpacing>
        <columnSpacing units="s">1.21951219625771046E-04</columnSpacing>
       
<groundRangeResolution>2.14232081144331898E+00</groundRangeResolution>
        <azimuthResolution>1.10000002384185791E+00</azimuthResolution>
        <azimuthLooks>1.00000000000000000E+00</azimuthLooks>
        <rangeLooks>1.00000000000000000E+00</rangeLooks>
      </imageRaster>

Row and column spacing can be expressed in different ways: meters or
seconds. Without units attached these attributes remain ambiguous. I have
not seen anything in the documentation that explains how to do this with
attributes.

Any suggestions are greatly appreciated.

Cheers,
Rudi

-- 
View this message in context: 
http://hdf-forum.184993.n3.nabble.com/attribute-units-tp1526251p1526251.html
Sent from the hdf-forum mailing list archive at Nabble.com.

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

Reply via email to