[gdal-dev] can't handle grib file

Etienne Tourigny etourigny.dev at gmail.com
Fri Aug 24 16:07:41 PDT 2012


On Fri, Aug 24, 2012 at 7:27 PM, Giuseppe Amatulli
<giuseppe.amatulli at gmail.com> wrote:
> 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.

I doubt cdo can convert to geotiff (in fact I am sure of ir, as I was
having a discussion with the devs about it some months ago).

Perhaps you are confusing with other software (or a really old
versions used to do that).

However, it can convert to netcdf which is well supported in gdal/qgis.

The proper (current) page for cdo is  https://code.zmaw.de/projects/cdo/

cheers
Etienne

> 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
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev


More information about the gdal-dev mailing list