<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi y'all,<div><br></div><div>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:</div><div><br></div><div><div>gdalinfo test.grib2</div><div>Warning: Inside GRIB2Inventory, Message # 2</div><div>ERROR: Couldn't find 'GRIB' or 'TDLP'</div><div>There were 4 trailing bytes in the file.</div><div>Driver: GRIB/GRIdded Binary (.grb)</div><div><br></div><div>On the other hand, running "gdalinfo" and perusing its "the following format drivers are configured and support output" lines, .grb/GRIB does not appear.</div><div><br></div><div>Currently I have gdal-bin 1.7.3-6ubuntu3 from universe/science and libgdal1-1.7.0 from universe/libs installed.</div><div><br></div><div>So either GRIB2 support is there and my file is somehow incompatible (if you care to have a look, it's at <a href="http://www.soils.wisc.edu/~wayne/test.grib2">http://www.soils.wisc.edu/~wayne/test.grib2</a>, and wgrib2 works just fine with it), it's not there, or it's there but only for GDAL input, not output.</div><div><br></div><div>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.</div><div><br></div><div>
<div>Thanks for your help. This was supposed to be so easy! Heh.</div>
</div><div><br class="webkit-block-placeholder"></div><div>Rick Wayne</div><div>Sr. Systems Programmer</div><div>UW Soil Science</div>
<br></div></body></html>