Re: [gdal-dev] near identical files being treated differently

2023-01-23 Thread Ken Mankoff
Hi Even, Thanks for the explanation. I'm not clear on what use case your PR supports. I can't gdalwarp the file - the model expects it in its current format. But if QGIS and etc. can now successfully reproject the file for display, that would be nice. Anyway, now I understand what was happenin

Re: [gdal-dev] near identical files being treated differently

2023-01-23 Thread Even Rouault
Ken, if you do "gdalinfo --debug on GLMELT_4X5.OCN.nc", you'll see GDAL_netCDF: Latitude/Y is not equally spaced (with a 0.05% tolerance). You may set the GDAL_NETCDF_IGNORE_EQUALLY_SPACED_XY_CHECK configuration option to YES to ignore this check and indeed $ ncdump -v lat GLMELT_4X5.OCN.nc

[gdal-dev] near identical files being treated differently

2023-01-23 Thread Ken Mankoff
Hello, I have two near-identical files available at: wget https://portal.nccs.nasa.gov/GISS_modelE/modelE_input_data/GLMELT_4X5.OCN.nc wget https://portal.nccs.nasa.gov/GISS_modelE/modelE_input_data/GLMELT_144X90_gas.OCN.nc They differ only in their dimensions: $ diff <(ncdump -h GLMELT_4X5.