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

ricardd at mathstat.dal.ca ricardd at mathstat.dal.ca
Tue Nov 15 14:49:49 EST 2005


Hello gdal-dev,
I'm very new to gdal so please cope with my ignorance.

I have a netcdf file of bathymetry that I use in GMT. I'd like to generate
a geotiff version of the same data. There was an earlier posting on this
list that suggested that gdal_translate can do this. However, I keep
getting a segmentation fault when I invoke the command:

> gdal_translate -a_srs 'EPSG:4326' bathymetry.grd outfile.tif

Could the gurus point out what's wrong with the above? Am I missing some
configuration to get gdal and netcdf to talk to each other?

I'm running GDAL 1.2.6.0 and netcdf 3.5.0-7.1 on Ubuntu breezy.
Cheers,

Dan





More information about the Gdal-dev mailing list