Brian,
Indeed, the file seems to be suspicious. See also my other mail where I
used wgrib2, as suggested by Bill. I will have to contact the data provider.
Thanks again for your time, Hermann
On 04/10/2010 16:24, brian wrote:
Hermann
GDAL uses degrib to read grib files. I tryed the product in both degrib
and gribdump, neither app will read it. Either the grib file is corrupt
or it is a varient that neither app will read.
Brian
r...@octopi ~ $ degrib HRES_ENS_2010100300+000.grib2 -I
ERROR: with inventory, so far:
MsgNum, Byte, GRIB-Version, elem, level, reference(UTC), valid(UTC),
Proj(hr)
1.0, 0, 2, (null), (null), 01/01/1970 00:00, 01/01/1970 00:00, 0.00
ERROR: In call to GRIB2Inventory.
ERROR: Ran out of file in Section 1
ERROR: Problems with section 1
r...@octopi ~ $ degrib HRES_ENS_2010100300+000.grib2 -C -Csv
ERROR: In call to Grib2Convert.
ERROR: In call to ReadGrib2Record.
Inside ReadGrib2Record.. Calling FindSectLen
ERROR: Section 1 labeled as 21
r...@octopi ~ $ gribdump -v HRES_ENS_2010100300+000.grib2
Oct 04 14:21:53 gribdump[22297]: Starting Up
Oct 04 14:21:53 gribdump[22297]: oversize GRIB product 2
Oct 04 14:21:53 gribdump[22297]: GRIB product: 2
Oct 04 14:21:53 gribdump[22297]: oversize GRIB product 2
Oct 04 14:21:53 gribdump[22297]: GRIB product: 4
Oct 04 14:21:53 gribdump[22297]: oversize GRIB product 2
Oct 04 14:21:53 gribdump[22297]: GRIB product: 6
Oct 04 14:21:53 gribdump[22297]: oversize GRIB product 2
Oct 04 14:21:53 gribdump[22297]: GRIB product: 8
Oct 04 14:21:53 gribdump[22297]: oversize GRIB product 2
Oct 04 14:21:53 gribdump[22297]: GRIB product: 10
Oct 04 14:21:53 gribdump[22297]: oversize GRIB product 2
Oct 04 14:21:53 gribdump[22297]: GRIB product: 12
Oct 04 14:21:53 gribdump[22297]: oversize GRIB product 2
Oct 04 14:21:53 gribdump[22297]: GRIB product: 14
Oct 04 14:21:53 gribdump[22297]: oversize GRIB product 2
Oct 04 14:21:53 gribdump[22297]: GRIB product: 16
Oct 04 14:21:53 gribdump[22297]: oversize GRIB product 2
Oct 04 14:21:53 gribdump[22297]: GRIB product: 18
Oct 04 14:21:53 gribdump[22297]: oversize GRIB product 2
Oct 04 14:21:53 gribdump[22297]: GRIB product: 20
Oct 04 14:21:53 gribdump[22297]: oversize GRIB product 2
Oct 04 14:21:53 gribdump[22297]: GRIB product: 22
Oct 04 14:21:53 gribdump[22297]: oversize GRIB product 2
Oct 04 14:21:53 gribdump[22297]: GRIB product: 24
Oct 04 14:21:53 gribdump[22297]: oversize GRIB product 2
Oct 04 14:21:53 gribdump[22297]: GRIB product: 26
Oct 04 14:21:53 gribdump[22297]: oversize GRIB product 2
Oct 04 14:21:53 gribdump[22297]: GRIB product: 28
Oct 04 14:21:53 gribdump[22297]: oversize GRIB product 2
Oct 04 14:21:53 gribdump[22297]: GRIB product: 30
Oct 04 14:21:53 gribdump[22297]: oversize GRIB product 2
Oct 04 14:21:53 gribdump[22297]: GRIB product: 32
Oct 04 14:21:53 gribdump[22297]: oversize GRIB product 2
Oct 04 14:21:53 gribdump[22297]: GRIB product: 34
Oct 04 14:21:53 gribdump[22297]: oversize GRIB product 2
Oct 04 14:21:53 gribdump[22297]: GRIB product: 36
Oct 04 14:21:53 gribdump[22297]: oversize GRIB product 2
Oct 04 14:21:53 gribdump[22297]: GRIB product: 38
Oct 04 14:21:53 gribdump[22297]: oversize GRIB product 2
Oct 04 14:21:53 gribdump[22297]: GRIB product: 40
Oct 04 14:21:53 gribdump[22297]: EOF on input
Oct 04 14:21:53 gribdump[22297]: Exiting
Oct 04 14:21:53 gribdump[22297]: 0 WMO msgs, 0 GRIBs decoded, 0 written
On Mon, 2010-10-04 at 16:06 +0200, Hermann Peifer wrote:
It is here for the next 10 days:
http://transfer.eea.europa.eu/download/6694e0deb608337a8d0e6c1fb0ad5068
Thanks for your time, Hermann
On 04/10/2010 15:27, brian wrote:
Hermann
Do you have a link to the grib file you can share?
Brian
On Mon, 2010-10-04 at 15:16 +0200, Hermann Peifer wrote:
Hi All,
I am getting this error for a grib2 file:
$ gdalinfo HRES_ENS_2010100300+000.grib2
ERROR 4: HRES_ENS_2010100300+000.grib2 is a grib file, but no raster
dataset was successfully identified.
gdalinfo failed - unable to open 'HRES_ENS_2010100300+000.grib2'.
I am using gdal from trunk which has, among others, support for these
formats:
$ gdalinfo --formats | egrep "JP|GRIB"
JPEG (rwv): JPEG JFIF
JPEG2000 (rwv): JPEG-2000 part 1 (ISO/IEC 15444-1)
GRIB (rov): GRIdded Binary (.grb)
I found some older postings to the mailing list on a similar error, but
whatever was mentioned there did not help in my case.
Thanks for your time,
Hermann
_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev
_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev