[gdal-dev] Adding input format (-if) option for gdalmdiminfo and gdalmdimtranslate?

Joe Lee hyoklee at hdfgroup.org
Tue Sep 8 09:14:41 PDT 2020


Thank you for your quick reply!
I'll try my best to add them.

From: Even Rouault <even.rouault at spatialys.com>
Sent: Tuesday, September 08, 2020 10:56 AM
To: gdal-dev at lists.osgeo.org
Cc: Joe Lee <hyoklee at hdfgroup.org>
Subject: Re: [gdal-dev] Adding input format (-if) option for gdalmdiminfo and gdalmdimtranslate?


On mardi 8 septembre 2020 09:27:19 CEST H. Joe Lee wrote:

> Hi,

>

> I can see that -if option is being [1] added to GDAL utilities, which is

> great for reading CF-compliant HDF5 as netCDF-4 and vice versa.

>

> Do you know how much effort is needed to apply the same -if option to

> gdalmdiminfo and gdalmdimtranslate?

> Is adding the -if option in the current plan for next release?



Joe,



this shouldn't be too hard to do if you want to tackle that and submit a pull request.

You can take inspiration from

https://github.com/OSGeo/gdal/commit/1c7b950fc8754f6ba1d027f031886063675d2927

which added support for -if in gdalinfo, etc.



Even



--

Spatialys - Geospatial professional services

http://www.spatialys.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20200908/44236185/attachment.html>


More information about the gdal-dev mailing list