[gdal-dev] GDAL/OGR 1.4.4 Release Candidate 1 - NOT SO GOOD news
Joaquim Luis
jluis at ualg.pt
Fri Nov 23 19:09:40 EST 2007
The netCDF driver is still broken.
I have repeatedly reported that netCDF COARDS compliant grids created by
GMT have their header reported incorrectly.
fast example
grdmath -R-10/10/-10/10 -I1 = lixo.grd
C:\>gdalinfo NETCDF:"lixo.grd":z
Driver: netCDF/Network Common Data Format
Size is 21, 21
Coordinate System is `'
Origin = (-10.500000000000000,-10.500000000000000)
Pixel Size = (1.000000000000000,1.000000000000000)
Metadata:
NC_GLOBAL#Conventions=COARDS, CF-1.0
NC_GLOBAL#title=lixo.grd
NC_GLOBAL#history=grdmath -R-10/10/-10/10 -I1 = lixo.grd
NC_GLOBAL#GMT_version=GMT4.2
NC_GLOBAL#node_offset=0
z#long_name=z
z#_FillValue=1.#QNAN0e+000
z#actual_range=00
z#coordinates=x y
x#long_name=x
x#actual_range=-1010
y#long_name=y
y#actual_range=-1010
Corner Coordinates:
Upper Left ( -10.5000000, -10.5000000) <=== WRONG
Lower Left ( -10.5000000, 10.5000000)
Upper Right ( 10.5000000, -10.5000000)
Lower Right ( 10.5000000, 10.5000000)
Center ( 0.0000000, 0.0000000)
...
I have also submitted a patch that corrects this problem
http://trac.osgeo.org/gdal/ticket/1926
why is it being ignored?
Joaquim Luis
More information about the gdal-dev
mailing list