[gdal-dev] HDF5 and CF conventions

Agram, Piyush S (US 334K) piyush.agram at jpl.nasa.gov
Tue Mar 31 09:38:37 PDT 2020


Hi everyone,
       Wanted to run a couple of ideas by the group here.

We are considering extending the HDF5 driver to support CF conventions. All the logic exists as part of the netcdf driver (pretty much) and it should not take a really long time to add that support to HDF5 driver as well.


  1.  Working towards this, would it be ok to move  the “CF_*” defines / constants to its own CF.h header file? That will then let us use it in other drivers as well.
  2.  CF conventions 1.7+ supports an attribute called “crs_wkt”. GDAL has traditionally referred to this attribute as “spatial_ref”. Would it be ok to update netcdf driver to look for crs_wkt first and then fall back to usual spatial_ref attribute when it is not found?
  3.  If one were to add CF support for HDF5, would it be preferable to make this its own driver like KEA/BAG (say H5CF) or part of the HDF5imagedataset core like CosmoSkymed / KompSAT products?

Piyush
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20200331/17319ae6/attachment.html>


More information about the gdal-dev mailing list