Opened 11 years ago

Closed 6 years ago

#4908 closed defect (fixed)

Cannot open grib file

Reported by: clundgren Owned by: warmerdam
Priority: normal Milestone: 2.3.0
Component: GDAL_Raster Version: unspecified
Severity: normal Keywords:
Cc: Kyle Shannon

Description

The grib driver cannot read some grib files, such as the data from ftp://osisaf.met.no/archive/ice/conc/ (I will attach one file)

gdalinfo reports the following errors when trying to open a dataset. Warning: Inside GRIB2Inventory, Message # 2 ERROR: Ran out of file reading SECT0 There were 48 trailing bytes in the file. ERROR 4: ice_conc_nh_201201011200.grb is a grib file, but no raster dataset was successfully identified. gdalinfo failed - unable to open 'ice_conc_nh_201201011200.grb'.

Other viewers (e.g. Panoply -- http://www.giss.nasa.gov/tools/panoply/) can view this file without issue.

Attachments (1)

ice_conc_nh_201201011200.grb.gz (190.5 KB ) - added by clundgren 11 years ago.
example grib file

Download all attachments as: .zip

Change History (5)

by clundgren, 11 years ago

example grib file

comment:1 by Jukka Rahkonen, 9 years ago

Heads-up: same error with GDAL 2.0-dev.

comment:2 by Kyle Shannon, 9 years ago

Cc: Kyle Shannon added

comment:3 by clundgren, 7 years ago

more examples of files that can't be read: https://data.knmi.nl/datasets/harmonie_p1/0.2 (too large to attach here)

comment:4 by Even Rouault, 6 years ago

Milestone: 2.3.0
Resolution: fixed
Status: newclosed

ftp://osisaf.met.no/archive/ice/conc/ and https://data.knmi.nl/datasets/harmonie_p1/0.2 datasets can now be opened with GDAL trunk per the fixes done in #7104

Note: See TracTickets for help on using tickets.