Ticket #4514 (closed defect: fixed)
netcdf driver does not keep original latitude values for Gaussian grids
|Reported by:||etourigny||Owned by:||etourigny|
Gaussian grids have non-regular latitude values, but when the difference between pixel spacing is less than 0.1 degree, the geotransform is approximated using the spacing between the first and second pixel.
This may induce small errors in geotransform, and also causes loss of the original values on export.
The ideal fix would be to support 1D GEOLOCATION arrays, but as the netcdf driver does not support 1D rasters, an easier fix is to save the original latitude values for export, and continue with the current approximation to the geotransform.