[gdal-dev] NetCDF driver detected file type

Kurt Schwehr schwehr at gmail.com
Wed Aug 7 13:22:49 PDT 2019


For a custom build of gdal, I'm seeing:

  Warning 1: NetCDF driver detected file type=5, but libnetcdf detected
type=3

Any idea what is causing this?  With gdal 2.3.2, from debian testing, I
don't see the message.

This warning message was added here:

https://github.com/OSGeo/gdal/commit/813aa221af3ac13a3747f4d4a3f312f098869adc

using:

gs://gcp-public-data-goes-17/ABI-L2-FDCF/2019/201/13/OR_ABI-L2-FDCF-M6_G17_s20192011310341_e20192011319407_c20192011319507.nc

netcdf 4.6.1
HDF5 claims to be 1.11.2 and is a bit newer than
https://bitbucket.hdfgroup.org/projects/HDFFV/repos/hdf5/browse?at=807187e2f200e63adb4918dd475d47546c8588e9
GDAL from head ~ 2018-Oct

gdalinfo
NETCDF:OR_ABI-L2-FDCF-M6_G17_s20192011310341_e20192011319407_c20192011319507.nc:Area
Warning 1: NetCDF driver detected file type=5, but libnetcdf detected type=3
Driver: netCDF/Network Common Data Format
Files: none associated
Size is 5424, 5424
Coordinate System is:
PROJCS["unnamed",
    GEOGCS["unknown",
        DATUM["unknown",
            SPHEROID["Spheroid",6378137,298.2572221]],
        PRIMEM["Greenwich",0],
        UNIT["degree",0.0174532925199433]],
    PROJECTION["Geostationary_Satellite"],
    PARAMETER["central_meridian",-137],
    PARAMETER["satellite_height",35786023],
    PARAMETER["false_easting",0],
    PARAMETER["false_northing",0],
    EXTENSION["PROJ4","+proj=geos +lon_0=-137 +h=35786023 +x_0=0 +y_0=0
+ellps=GRS80 +units=m +no_defs  +sweep=x"]]
Origin = (-5434894.700982173904777,-5434895.218222249299288)
Pixel Size = (2004.017315487541055,2004.017315487541055)
Metadata:
  Area#add_offset=4000
  Area#cell_methods=sunglint_angle: point (no pixel produced)
local_zenith_angle: point (good quality pixel produced) solar_zenith_angle:
point (good quality pixel produced) t: point
  Area#coordinates=sunglint_angle local_zenith_angle solar_zenith_angle t y
x
  Area#grid_mapping=goes_imager_projection
  Area#long_name=ABI L2+ Fire-Hot Spot Characterization: Fire Area
  Area#scale_factor=60.98
[SNIP]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20190807/70f21bd1/attachment.html>


More information about the gdal-dev mailing list