Opened 3 years ago

Closed 14 months ago

Last modified 14 months 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

Thanks,

Cayetano Benavent

GIS Analyst

www.geographica.gs

Attachments (1)

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

Download all attachments as: .zip

Change History (8)

Changed 3 years ago by cayetanobv

Attachment: grib_example added

GRIB_EXAMPLE

comment:1 Changed 3 years ago by cayetanobv

Summary: GRIB DriverGRIB Driver Error

comment:2 Changed 3 years ago by cayetanobv

Description: modified (diff)

comment:3 Changed 3 years ago by Kyle Shannon

Cc: Kyle Shannon added

comment:4 Changed 3 years ago by cayetanobv

Description: modified (diff)

comment:5 Changed 3 years ago by cayetanobv

Description: modified (diff)

comment:6 Changed 14 months ago by Even Rouault

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 Changed 14 months ago by Even Rouault

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.