Project

General

Profile

Problem with CFSR data from NOAA

Added by Lena My almost 12 years ago

Hello,
I have a problem with some downloaded Climate Forecast System Reanalysis CFSR from NOAA (Saha 2010) data in CDO.
I downloaded these data from the homepage: ftp://nomads.ncdc.noaa.gov/CFSR/HP_monthly_means/198701/
(flxf06.gdas.198701.grb2)
If I try to look inside these data, with cdo showname flxf06gdas.198701.grb2, I get always the following information:
GRIB_API ERROR : Invalid size 70 found for section_4, assuming 74
GRIB_API ERROR : Invalid size 70 found for section_4, assuming 74
GRIB_API ERROR : Invalid size 70 found for section_4, assuming 74
GRIB_API ERROR : Invalid size 70 found for section_4, assuming 74
stream_gripapi.c at line 258: grib_get_size(gh, “values”, & datasize) failed: Key/value not found

I have downloaded one again, but the problem still exists.

Could it be a problem with my CDO version 1.5.3 from Ubuntu(12.04 LTS)?
With the time series data (hourly) from CFSR there was no problem.

My cdo -V info:
Climate Data Operators version 1.5.3 (http://code.zmaw.de/projects/cdo)
Compiler: mpicc -std=gnu99 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -fPIC
version: gcc: error: unrecognized option '-V'
with: PTHREADS Z JASPER PROJ.4
Compiled: by buildd on allspice (x86_64-unknown-linux-gnu) Dec 12 2011 14:32:18
CDI library version : 1.5.3 of Dec 12 2011 14:32:13
GRIB_API library version : 1.9.9
netCDF library version : 4.1.1 of Nov 7 2011 11:35:16 $
HDF5 library version : 1.8.4
SERVICE library version : 1.3.0 of Dec 12 2011 14:32:01
EXTRA library version : 1.3.0 of Dec 12 2011 14:31:57
IEG library version : 1.3.0 of Dec 12 2011 14:32:00
FILE library version : 1.7.1 of Dec 12 2011 14:31:58

Thanks a lot
Lena


Replies (1)

RE: Problem with CFSR data from NOAA - Added by Jaison-Thomas Ambadan almost 12 years ago

Hi Lena,

I can also reproduce the same problem with the latest version of CDO (v1.5.5); so (I think) either it is a BUG (which is unlikely) or due to the difference in NCEP GRIB2 and CDO GRIB2 (which is the ECMWF GRIB_API library) handling. Since I'm not an expert on GRIB, may be Uwe/Ralf can help you with more info regarding the problem.

In the meantime, you may use the "wgrib2" tool from NCEP, to covert the GRIB2 to NetCDF and then use CDO for your calculations:

wgrib2 input_file.grb2 -netcdf output_file.nc

If the data is huge it will take some time to covert but it will work!

More details can be found in the following webpage

http://www.cpc.ncep.noaa.gov/products/wesley/wgrib2/netcdf.html

Cheers,
J.

    (1-1/1)