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.roua...@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 >
_______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal-dev