[GRASS-user] grib format data import problem with GRASS 6.5

Hamish hamish_b at yahoo.com
Wed Apr 21 23:31:12 EDT 2010


Thomas wrote:
> I have built GRASS 6.5 svn (2010_04_10) with fftw, proj4,
> gdal (1.7.1), sqlite, postgresql, tcltk,… When I try to
> import a grib2 file using r.in.gdal I get a message that the
> file is not a supported format. Running gdal-config
> --formats shows that grib is supported.
>
> If I run on another machine, with a separate installation,
> but with GRASS 6.4, on the same grib file, it imports
> without problems and I get what I expect. Is there anything
> I should look for to help identify what's going on with my
> GRASS 6.5 installation? I have been struggling with this for
> several days and I am befuddled…

generic gdal problems advice:
* check that gdalinfo can read it
* check the gdal bug tracker for GRIB bugs (including fixed)
* check the version of gdal on both machines
* check the gdal release notes for mentions of GRIB things fixed/changed

in general, if GDAL can't read it then GRASS can't either, and import
errors with r.in.gdal are often completely independent of the GRASS side
of things.

if GDAL can't read it with its internal utilities (gdalinfo, gdal_translate)
then the best route is to ask for help on the gdal-dev mailing list.
if they can, it's probably a GRASS bug.


regards,
Hamish



      


More information about the grass-user mailing list