Project

General

Profile

Error (decodeIS) : GRIB version 2 unsupported!

Added by yueya wang over 6 years ago

hi,

I have a grib data of ECMWF,and when I convert it to nc I got an error:

Error (decodeIS) : GRIB version 2 unsupported!

The size of the file is bigger than 70M. I cannot upload it.

I had converted other grib2 data,it worked well,looking forward for
help.
Climate Data Operators version 1.8.2 (http://mpimet.mpg.de/cdo)
Compiled: by nwp on C0001 (x86_64-unknown-linux-gnu) Nov 22 2017 14:34:22
Compiler: gcc -std=gnu99 -g -O2 -fopenmp
version: gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-11)
Features: DATA PTHREADS OpenMP3 OPeNDAP SSE2
Libraries:
Filetypes: srv ext ieg grb1 grb2 nc1 nc2
CDI library version : 1.8.2 of Nov 22 2017 14:33:10
CGRIBEX library version : 1.7.6 of Dec 20 2016 19:55:24
GRIB_API library version : 1.14.7
NetCDF library version : 4.4.0 of Jun 2 2017 15:54:59 $
SERVICE library version : 1.4.0 of Nov 22 2017 14:32:55
EXTRA library version : 1.4.0 of Nov 22 2017 14:32:48
IEG library version : 1.4.0 of Nov 22 2017 14:32:52
FILE library version : 1.8.3 of Nov 22 2017 14:32:49


Replies (1)

RE: Error (decodeIS) : GRIB version 2 unsupported! - Added by Uwe Schulzweida over 6 years ago

It seems that your file contains a mixture of GRIB1 and GRIB2 records. This is a little bit problematic because CDO is using the GRIB_API to handle GRIB2 records and the internal CGRIBEX library for GRIB1 records. And the mixing of them is not intended in CDO. But you can disable the internal CGRIBEX library with the configure option --disable-cgribex. In this case the GRIB_API is also used for GRIB1 records.

    (1-1/1)