[Gdal-dev] Generating a geotiff from netcdf with gdal_translate

jluis jluis at ualg.pt
Tue Nov 15 17:47:02 EST 2005


Hi,

When using GMT grids remember that GDAL does not treat correctly GMT grids with grid
registraction

> Dan,
> 
> Converting GMT grid to Geotif works fine for me, even with GDAL 1.2.6
> 
> -Rich
> 
> [rsignell at ricsigdtlx nonc]$ gdal_translate --version
> GDAL 1.2.6.0, released 2005/03/13
> 
> 

> gom15.grd: x_min: -71.5 x_max: -63 x_inc: 0.00416667 units: user_x_unit 
> nx: 2041
> gom15.grd: y_min: 39.5 y_max: 46 y_inc: 0.00416667 units: user_y_unit 
> ny: 1561


> Pixel Size = (0.00416463,-0.00416400)

Notice how x_inc & y_inc difer from Pixel size

I reported that before but the bug (796 in Bugzilla) is still open

J. Luis



More information about the Gdal-dev mailing list