Even,<div><br><div class="gmail_quote">On Thu, Aug 23, 2012 at 8:36 PM, Even Rouault <span dir="ltr"><<a href="mailto:even.rouault@mines-paris.org" target="_blank">even.rouault@mines-paris.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im"><br>
> So it looks like the information is actually there, but the gdal driver<br>
> can't handle it. Any hint?<br>
<br>
</div>Margherita,<br>
<br>
There's a possibility that your data file is of a type that isn't understood by<br>
the underlying library that GDAL uses to decode GRIB files. Or perhaps GDAL<br>
isn't using it correctly with that particular file. Difficult to know.<br>
<br>
GDAL uses the g2clib library (v1.0.4), that has evolved (<br>
<a href="http://www.nco.ncep.noaa.gov/pmb/docs/grib2/download/g2clib.changes" target="_blank">http://www.nco.ncep.noaa.gov/pmb/docs/grib2/download/g2clib.changes</a> ) since it<br>
was integrated in GDAL. So perhaps a newer version of it better supports your<br>
data file. (but merging a newer version to GDAL might be non trivial, since a<br>
lot of fixes were done in GDAL copy (to address cross-platform portability,<br>
etc..)).<br>
<div class="HOEnZb"><div class="h5"><br></div></div></blockquote><div>Thank you for your hints. I understand that grib is a pretty much flexible type of file and in some cases flexibility is difficult to handle. If you devs think it's worthy, I'd file a ticket about it and I can send you the grib file if you wish to make tests on it. Please let me know.</div>
<div><br></div><div>Thanks,</div><div> </div></div>-- <br>Dr. Margherita Di Leo<br>
</div>