Project

General

Profile

Already exported GRIB_INVENTORY_MODE=time, still got 'Unsupported file structure'

Added by Jianyu Liu over 7 years ago

Hi,

I'm using CDO 1.7.2, and CDO was built with both of CGRIBEX and GRIB_API support.

It already exported GRIB_INVENTORY_MODE=time, but still got an error like this

Warning (cgribexScanTimestep2) : Record 57 (id=228.128 lev1=0 lev1-0) timestep 2: Parameter not defined at timestep 1!

cdo sinfon: Open failed on >N1D08131200081612001<
Unsupported file structure

But the same file could be read with grib_api and ncl.

Wondering what's the problem and how to fix it ?

Thanks for your time

Regards

Jerry


Replies (3)

RE: Already exported GRIB_INVENTORY_MODE=time, still got 'Unsupported file structure' - Added by Karin Meier-Fleischer about 7 years ago

Hi Jerry,

maybe your data has mixed GRIB1/GRIB2 records. Using grib_set from the grib-api tools can set the file to GRIB1

grib_set -s editionNumber=1 infile outfile

-Karin

RE: Already exported GRIB_INVENTORY_MODE=time, still got 'Unsupported file structure' - Added by Jianyu Liu about 7 years ago

Karin,

Sorr for the delay.

Yes, it mixed GRIB1/GRIB2 records, all records are in GRIB1 except the Cloudy brightness temperature.

After separating it into two files, both of the GRIB1 and GRIB2 records could be read by cdo without any problem.

Appreciating your time

Regards

Jerry

    (1-3/3)