[Ubuntu] Noob question: Does GDAL in the UbuntuGIS (or universe/science) packages have GRIB2 support?
Rick Wayne
fewayne at wisc.edu
Tue Oct 23 13:05:55 PDT 2012
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/ubuntu/attachments/20121023/5c40e73d/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 7351 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/ubuntu/attachments/20121023/5c40e73d/attachment.bin>
More information about the Ubuntu
mailing list