On 04/12/2016 03:40 PM, Kent Yang wrote:
Sita,
You may need to elaborate more for your question.
In short, It is possible to store geo-referencing info in HDF5 since HDF5 is a
general data format that allows you to store metadata in object attributes. You
can store the info. like lat/lon in HDF5 datasets. However, to make the
applications understand the geo-referencing info, you may need to follow the
HDF-EOS or netCDF-4 data model to create your HDF5 files.
You can create an image by following the HDF5 image specification. However, the
image is not geo-referenced.
Kent
-----Original Message-----
From: Hdf-forum [mailto:[email protected]] On Behalf Of D
SITA
Sent: Wednesday, March 16, 2016 5:01 AM
To: [email protected]
Subject: [Hdf-forum] storing geo-referencing info in HDF5 format
Please let me know whether geo-referenced image data can be written in
HDF5 format retaining the info
Sita,
I would suggest to use netCDF-4 HDF5, see
http://www.unidata.ucar.edu/software/netcdf/docs/user_guide.html
If you have to stick to HDF5, you can use the dimension scale API, see
https://www.hdfgroup.org/HDF5/doc/HL/RM_H5DS.html
Furthermore, I would suggest to use the CF conventions and metadata to
implement geo-referencing in HDF5/netCDF-4 files, see
http://cfconventions.org/
Good luck, Richard
_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org
Twitter: https://twitter.com/hdf5