[ncl-talk] reading s2s ecmwf forecast grib file

Karin Meier-Fleischer meier-fleischer at dkrz.de
Thu Aug 31 07:33:24 MDT 2017


Hi Ousmane,

sometimes the ECMWF data have mixed GRIB 1 and GRIB 2 records. To 
convert these files to GRIB 1 you can use the grib_api tools as Guido 
mentioned already.

   grib_set -s editionNumber=1 1Sep2009.grib 1Sep2009_GRIB1.grib

Then try to read the new file 1Sep2009_GRIB1.grib in your NCL script.

-Karin

Am 31.08.17 um 14:50 schrieb ousmane ndiaye:
>
> Dear All,
>
> I downloaded forecast file from ecmwf s2s data base in grib2 format.
>
> When I try to read it I got this error :
>
> ncl 3> ff=addfile("1Sep2009.grib","r")
>
> warning:NclGRIB2: TPRATE_P61_L1 contains records that NCL cannot 
> currently differentiate. One or more records will be ignored.
>
> warning: Entry (6) not found in code table file 
> /Users/macbook/Downloads/ncl-6.4.0/lib/ncarg/grib2_codetables/ncep/1/1.3.table
>
>
>
> ==
>
> any help
>
> Ousmane
>
>
>
>
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20170831/4c364306/attachment.html>


More information about the ncl-talk mailing list