[gdal-dev] NetCDF config option for west > east?
Even Rouault
even.rouault at spatialys.com
Sat Nov 24 08:56:32 PST 2018
> This particular NetCDF file, PM10 analysis from CAMS
> http://www.regional.atmosphere.copernicus.eu/, does not have a longitude
> variable, also no subdatasets. Resolution should be 0.1 degrees, but GDAL
> reports
> Pixel Size = (-0.415021467959250,-0.100000003824258)
> because west > east
>
ok, ncdump on it confirms there's a clean discontinuity, and regular spacing
before and after:
longitude = 335.05, 335.15,[...], 359.85, 359.95,
0.04998779, 0.1499939, [...] 44.84998, 44.94998;
the netCDF driver could detect and autocorrect this. Should be around line
3174 of frmts/netcdf/netcdfdataset.cpp
--
Spatialys - Geospatial professional services
http://www.spatialys.com
More information about the gdal-dev
mailing list