Project

General

Profile

getting error in infon

Added by Arya Roudi almost 7 years ago

Hi,

i have a strange model that is sending to us by a third party they do some process on model but i cant read this model fine by wgrib, cdo, grib_api and when i check the cdo infon [gribfile] i get this error:

Error (cgribexGetGrid) : numberOfPoints (65160) and gridSize (0) differ!

I upload as attached the model which I'm trying to read in case if you want to run some command on it

thannks


Replies (6)

RE: getting error in infon - Added by Ralf Mueller almost 7 years ago

I get a lot of error with grib tools like

<ram@luthien:~/Downloads>
% grib_ls 17071200.gfs10.grib
17071200.gfs10.grib
GRIB_API ERROR   :  Unable to find template predefined_grid_values from grib1/grid_3.def 
edition      centre       typeOfLevel  level        dataDate     stepRange    shortName    
1            kwbc         surface      0            20170712     0-6          tp          
GRIB_API ERROR   :  Unable to find template predefined_grid_values from grib1/grid_3.def 
.....

grib_dump has similar problems. So I guess this file is corrupted.

hth
ralf

RE: getting error in infon - Added by Ralf Mueller almost 7 years ago

But I could convert it to netcdf with NCLs ncl_convert2nc, which made it readable to CDO.

RE: getting error in infon - Added by Arya Roudi almost 7 years ago

Ralf Mueller wrote:

I get a lot of error with grib tools like[...]

grib_dump has similar problems. So I guess this file is corrupted.

hth
ralf

yea me too but they are using it in processes and and extracting data!! they are trying to make new model by WRF to introduce it to the application. I'm trying to find out how to make a model like this one to be readable by their application

RE: getting error in infon - Added by Arya Roudi almost 7 years ago

Ralf Mueller wrote:

But I could convert it to netcdf with NCLs ncl_convert2nc, which made it readable to CDO.

can you try the output by with grib_dump or wgrib -V? thanks

RE: getting error in infon - Added by Uwe Schulzweida almost 7 years ago

The Grid Description Record is missing in all records of the GRIB file. That means there is no information about the grid available. This is not supported in CDO. But it is a valid GRIB file. CDO will support those files in the next release!

RE: getting error in infon - Added by Arya Roudi almost 7 years ago

Uwe Schulzweida wrote:

The Grid Description Record is missing in all records of the GRIB file. That means there is no information about the grid available. This is not supported in CDO. But it is a valid GRIB file. CDO will support those files in the next release!

Ok then. how can we remove those information from our standard GRIB file to make a model like this? is this possible? i have seen a new feature in version 1.8 delgridcell but i couldn't find how this works

    (1-6/6)