[gdal-dev] NetCDF driver detected file type

Kurt Schwehr schwehr at gmail.com
Wed Aug 7 15:18:24 PDT 2019


Thanks!  Adding -DNETCDF_HAS_NC4 makes the warning go away.

Now I wonder what that means to users of this code that have been living
without that for forever.

I will try gdal_translate with and without that flag and see what happens.
It looks like I should see differences with unsigned types.

On Wed, Aug 7, 2019 at 2:36 PM Even Rouault <even.rouault at spatialys.com>
wrote:

> On mercredi 7 août 2019 14:24:32 CEST Kurt Schwehr wrote:
> > Hmm... these are netcdf 5 according to file.
>
> HDF5, not netCDF 5. netCDF v4 file format is a profile on top of HDF5.
>
> > I have the extra fun that my build is bazel based.
>
> Ah that likely explains it... You need to add -DNETCDF_HAS_NC4 to the
> compilation flags of the frmts/netcdf/*.cpp files
>
>
> --
> Spatialys - Geospatial professional services
> http://www.spatialys.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20190807/0bccdf6c/attachment-0001.html>


More information about the gdal-dev mailing list