[Gdal-dev] Converting to GMT

Joaquim Luis jluis at ualg.pt
Mon Feb 12 18:13:15 EST 2007

Jose Luis Gomez Dans wrote:
> Hi!
> I want to quickly visualise a GeoTIFF file using GMT. I have tried using  gdal_translate -of GMT (and NetCDF), but I get the following error:
> gdal_translate -of GMT test.tif testOut.grd
> Input file size is 1347, 1032
> netcdf: 3 is not a valid cdfid
I just tried that transformation and it worked ok (1.4.0 on Win XP)
It only failed to convert the
NoData Value=-99999
to NaN as is expected for the default value on GMT grids

Joaquim Luis

More information about the Gdal-dev mailing list