Hi y'all,

I am struggling with getting some GRIB2 files, obtained from an upstream 
provider, into PostGIS. The error messages I'm receiving (and they're pretty 
much the same whether I invoke raster2pgsql, gdal_retile.py, or gdalinfo on the 
file) certainly imply that the GDAL driver knows something about GRIB:

gdalinfo test.grib2
Warning: Inside GRIB2Inventory, Message # 2
ERROR: Couldn't find 'GRIB' or 'TDLP'
There were 4 trailing bytes in the file.
Driver: GRIB/GRIdded Binary (.grb)

On the other hand, running "gdalinfo" and perusing its "the following format 
drivers are configured and support output" lines, .grb/GRIB does not appear.

Currently I have gdal-bin 1.7.3-6ubuntu3 from universe/science and 
libgdal1-1.7.0 from universe/libs installed.

So either GRIB2 support is there and my file is somehow incompatible (if you 
care to have a look, it's at http://www.soils.wisc.edu/~wayne/test.grib2, and 
wgrib2 works just fine with it), it's not there, or it's there but only for 
GDAL input, not output.

If I need to upgrade, or replace my current packages with the UbuntuGIS ones, I 
can certainly do that. But I'm reluctant to embark on that project -- or, say, 
building everything from source -- unless I have a pretty clear problem 
diagnosis, which I don't have the experience to puzzle out in a reasonable 
amount of time.

Thanks for your help. This was supposed to be so easy! Heh.

Rick Wayne
Sr. Systems Programmer
UW Soil Science

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
UbuntuGIS mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/ubuntu
http://trac.osgeo.org/ubuntugis/wiki

Reply via email to