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

Matt Foster Matthew.Foster at noaa.gov
Tue Nov 15 15:52:00 EST 2005


Dan,

I have a *little* experience using gdal_translate on netCDF.  I would 
highly recommend upgrading your gdal.  I had problems with seg faults on 
version 1.3.0, and had to pull the source from CVS to alleviate the 
problem.  Perhaps the 1.3.1 release would do OK for you.

Matt


ricardd at mathstat.dal.ca wrote:

>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
>
>
>_______________________________________________
>Gdal-dev mailing list
>Gdal-dev at lists.maptools.org
>http://lists.maptools.org/mailman/listinfo/gdal-dev
>
>  
>

-- 
"Well, I screwed it up real good, didn't I?"
-- Richard M. Nixon




More information about the Gdal-dev mailing list