Project

General

Profile

UGrib data files with CDO?

Added by Paul Litzinger over 13 years ago

Hey everyone,
I recently downloaded the CDO software to convert Grib files into NetCDF ones. My Grib file resource is UGrib (www.grib.us) but I have problems copying the data, my command line is: cdo -f nc TEST.grb TEST.nc and is responded by
Warning <cgribexScanTimestep2> : Param=61.2 level=0 not defined at timestep 1!
cdo copy: Open failed on >Test.grb< Unsupported file structure
Does anyone have experience with UGrib in combination with CDO or can help me with my copying problem.
Thank you!
Paul

TEST.grb (20.8 KB) TEST.grb

Replies (5)

RE: UGrib data files with CDO? - Added by Uwe Schulzweida over 13 years ago

Hi Paul,

CDO can't process all GRIB files. One major restriction is that a GRIB dataset has to be consistent, similar to netCDF. That means all time steps needs to have the same variables. Your GRIB file contains 9 timesteps with 4 codes (2, 33, 34 and 61). Unfortunately the code 61 is missing in the first time step of this file. That makes it impossible to process this GRIB file with CDO. To process this file with CDO you have to remove either the first timestep or the code 61.

Regards,
Uwe

RE: UGrib data files with CDO? - Added by Paul Litzinger over 13 years ago

Hi,
and thanks for the quick response. Since I am rather new to the topic of grib files I have no idea of how to manipulate such a file. Is there a software you can reccomend that can do such operations in order to make my file working with cdo, wich runs on my windows xp system?
thank you
paul

RE: UGrib data files with CDO? - Added by Uwe Schulzweida over 13 years ago

Hi Paul,

We have only software for UNIX systems to manipulate GRIB files see. It should theoretically compile also on Windows but we have never tried it and can't give support for this, sorry.

Regards,
Uwe

RE: UGrib data files with CDO? - Added by Ralf Mueller over 13 years ago

If you are familiar with UNIX-like environments, cygwin might be an option.

RE: UGrib data files with CDO? - Added by Mario Zippitelli about 12 years ago

Hi everyone,
I've a quite similar problem.
My command line is

cdo sinfo STEP72.grb

and is responded by

Warning (cgribexScanTimestep2) : Param=73.2 level=0 not defined at timestep 1!
cdo sinfo: Open failed on >STEP72.grb<
Unsupported file structure

In my grib file there is only one step (72, the last of the time series).
Other files of the same time seres are read without any problem.

As attachements, there is the file which doesn't work (STEP72.grb) and another one which is the step 69 of the same time series.

What's the problem?

Thank you,
Mario

    (1-5/5)