[gdal-dev] can't handle grib file

Giuseppe Amatulli giuseppe.amatulli at gmail.com
Fri Aug 24 15:27:41 PDT 2012


Ciao
Years ago to handling easily grib file i was using
CDO " http://www.nersc.gov/users/software/vis-analytics/climate-data-operators-cdo/
" .
it can also convert grib to  geoTiff.
ciao

On 24 August 2012 02:05, Margherita Di Leo <diregola at gmail.com> wrote:
> Even,
>
> On Thu, Aug 23, 2012 at 8:36 PM, Even Rouault <even.rouault at mines-paris.org>
> wrote:
>>
>>
>> > So it looks like the information is actually there, but the gdal driver
>> > can't handle it. Any hint?
>>
>> Margherita,
>>
>> There's a possibility that your data file is of a type that isn't
>> understood by
>> the underlying library that GDAL uses to decode GRIB files. Or perhaps
>> GDAL
>> isn't using it correctly with that particular file. Difficult to know.
>>
>> GDAL uses the g2clib library (v1.0.4), that has evolved (
>> http://www.nco.ncep.noaa.gov/pmb/docs/grib2/download/g2clib.changes )
>> since it
>> was integrated in GDAL. So perhaps a newer version of it better supports
>> your
>> data file. (but merging a newer version to GDAL might be non trivial,
>> since a
>> lot of fixes were done in GDAL copy (to address cross-platform
>> portability,
>> etc..)).
>>
> 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.
>
> Thanks,
>
> --
> Dr. Margherita Di Leo
>
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev



-- 
Giuseppe Amatulli
Web: www.spatial-ecology.net


More information about the gdal-dev mailing list