Project

General

Profile

grib2 to grib1

Added by Andrea Borrelli over 11 years ago

Hi all,

I'm trying to change the format of two ECMWF files on levels from grib2 to grib1 to use with INTERA, but seems doesn't work.
Here the message:

1. this file type is in spectral format on model levels (era_interim_lev_ml_08-01_2012_00.grib2):

cdo -f grb copy era_interim_lev_ml_08-01_2012_00.grib2 era_interim_lev_ml_08-01_2012_00.grib
Warning (cgribexDefParam) : Can not convert GRIB2 parameter (4.3.0) to GRIB1!
cdo copy: Processed 4229496 values from 6 variables over 1 timestep. ( 4.28s )

2. this file type is on reduced grid on model level (era_interim_lev_gg_08-01_2012_00.grib2):

cdo -f grb copy era_interim_lev_gg_08-01_2012_00.grib2 era_interim_lev_gg_08-01_2012_00.grib
Warning (cgribexDefParam) : Can not convert GRIB2 parameter (32.6.0) to GRIB1!
cdo copy: Processed 13001352 values from 4 variables over 1 timestep. ( 2.80s )

Thanks in advance for the help
Andrea


Replies (3)

RE: grib2 to grib1 - Added by Jaison-Thomas Ambadan over 11 years ago

Hi,

Can you please upload:

1) a sample of your GRIB2 data (must be < 50MB or a link to download the data)?, and
2) output of "cdo -V"

Those info may help the cdo guys here to identify the problem!

Cheers,
J.

RE: grib2 to grib1 - Added by Andrea Borrelli over 11 years ago

Dear Jaison-Thomas,

thanks a lot for the answer. Here attached my "cdo -V". In attachment the sample files of my first message:

Cheers
A.

cdo -V
Climate Data Operators version 1.5.0 (http://code.zmaw.de/projects/cdo)
Compiler: gcc -std=gnu99 -g -O3 -mtune=opteron -march=opteron -mfpmath=sse -mmmx -msse -msse2 -m3dnow -ftree-vectorize
version: gcc (GCC) 4.1.2 20071124 (Red Hat 4.1.2-42)
with: PTHREADS SZ Z JASPER PROJ.4
Compiled: by fogli on Server1.cmcc.bo.it (x86_64-unknown-linux-gnu) Apr 20 2011 11:26:27
CDI library version : 1.5.0 of Apr 20 2011 11:26:18
CGRIBEX library version : 1.5.0 of Feb 15 2011 10:23:39
GRIB_API library version : 1.9.8
netCDF library version : "3.6.3" of Jun 30 2008 21:54:13 $
HDF5 library version : 1.8.0
SERVICE library version : 1.3.0 of Apr 20 2011 11:26:00
EXTRA library version : 1.3.0 of Apr 20 2011 11:25:55
IEG library version : 1.3.0 of Apr 20 2011 11:25:59
FILE library version : 1.7.1 of Apr 20 2011 11:25:56

RE: grib2 to grib1 - Added by Jaison-Thomas Ambadan over 11 years ago

Hi,

As far as I understood, there is nothing wrong with the output file. The warning the CDO gives is the limitation of GRIB1, that it cannot store the additional header info related to the parameter/variable. It is safe to use the output I guess (it's just a warning).

Cheers,
J.

PS: just for your info: I highly recommend to upgrade/update your CDO to the latest version!

    (1-3/3)