Opened 8 years ago

Closed 6 years ago

Last modified 6 years ago

#5768 closed enhancement (fixed)

GRIB Driver Error

Reported by: cayetanobv Owned by: warmerdam
Priority: normal Milestone: 2.2.0
Component: GDAL_Raster Version: 1.11.0
Severity: normal Keywords: GRIB
Cc: Kyle Shannon

Description (last modified by cayetanobv)

GDAL GRIB Driver can't read any icing and turbulence grib2 files distributed by Wide Area Forecast System (WAFS). However GDAL GRIB Driver read without problems other grib2 WAFS variables (temperature, wind, etc.).

Shell output error:

$ gdalinfo --debug on /home/cayetano/grib_example

GRIB: This was only designed for templates 0, 1, 2, 5, 8, 9, 10, 11, 12, 20, 30

ERROR 4: /home/cayetano/grib_example is a grib file, but no raster dataset was successfully identified. gdalinfo failed - unable to open '/home/cayetano/grib_example'.

NOAA's WGRIB2 read without problems these files and export perfectly to NetCDF. Shell output example using WGRIB2:

$ ./wgrib2 -V /home/cayetano/grib_example

1:41:vt=2014120715:800 mb:9 hour fcst:ICIP Icing [%]:spatial max

ndata=41760:undef=0:mean=0.257352:min=-0.01:max=1 grid_template=0:winds(N/S):

lat-lon grid:(288 x 145) units 1e-06 input WE:SN output WE:SN res 48 lat -90.000000 to 90.000000 by 1.250000 lon 0.000000 to 358.750000 by 1.250000 #points=41760


Cayetano Benavent

GIS Analyst

Attachments (1)

grib_example (15.4 KB ) - added by cayetanobv 8 years ago.

Download all attachments as: .zip

Change History (8)

by cayetanobv, 8 years ago

Attachment: grib_example added


comment:1 by cayetanobv, 8 years ago

Summary: GRIB DriverGRIB Driver Error

comment:2 by cayetanobv, 8 years ago

Description: modified (diff)

comment:3 by Kyle Shannon, 8 years ago

Cc: Kyle Shannon added

comment:4 by cayetanobv, 8 years ago

Description: modified (diff)

comment:5 by cayetanobv, 8 years ago

Description: modified (diff)

comment:6 by Even Rouault, 6 years ago

Resolution: fixed
Status: newclosed

In 35436:

GRIB: add (minimalistic) support for template 4.15 needed to read Wide Area Forecast System (WAFS) products (fixes #5768)

comment:7 by Even Rouault, 6 years ago

Milestone: 2.2.0
Type: defectenhancement

Also somehow related :

r35437: *Partial* resynchronization with degrib-2.0.3, mostly to get updated tables (somehow related to #5768)

Note: See TracTickets for help on using tickets.