[GRASS-user] Problem with grib support for GRASS 6.4

Markus Neteler markus.neteler at iasma.it
Fri Dec 4 17:13:10 EST 2009


Thomas Adams wrote:
> All:
>
> I have (re-)compiled GRASS 6.4 to try and ensure that I am getting 
> grib support in gdal within GRASS. When I attempt to import a grib 
> file using r.in.gdal, I get an error and GRASS tells me that the file 
> format is not recognized and is not supported. When I list the 
> supported file formats for r.in.gdal, I can not find grib listed as a 
> supported file format. OK, this seems to make sense, except that I did 
> link to gdal (which I built from source) and if I run: gdalinfo 
> gribfilename.grb, I get very reasonable output about the file. So, I 
> don't understand why gdalinfo recognizes my grib file, yet GRASS 
> linked against gdal does not list grib as a supported file format and 
> does not recognizes my grib file.

Tom,

please check with

ldd `which r.in.gdal`
ldd `which gdalinfo`

which GDAL libs are used. Perhap you have two installations on the machine?

Markus


More information about the grass-user mailing list