[gradsusr] reading s2s ecmwf forecast file

Ousmane Ndiaye ousmane at iri.columbia.edu
Thu Aug 31 08:50:00 EDT 2017


Thanks I got the version 2.1.0 and t works

macbook$ gribmap -i rtl.ctl
gribmap: scanning GRIB2 file: 1Sep2009.grib 
gribmap: Writing out the GRIB2 index file (version 3)

BUT all fields are undefined 
Ousmane


----- Mail original -----
De: "Jennifer M Adams" <jadams21 at gmu.edu>
À: "GrADS Users Forum" <gradsusr at gradsusr.org>
Envoyé: Jeudi 31 Août 2017 11:49:01
Objet: Re: [gradsusr] reading s2s ecmwf forecast file

Support for the PDTs 60 and 61 used in S2S data was added in GrADS version 2.1.0. 
—Jennifer

> On Aug 31, 2017, at 5:50 AM, Ousmane Ndiaye <ousmane at IRI.COLUMBIA.EDU> wrote:
> 
> Hi,
> I downloaded forecast file from ecmwf s2s data base
> 1. i checked the file using wgrib2 
> 1:0:d=2009090100:TPRATE:surface:0-1 day acc fcst:ENS=? table4.6=255 pert=0
> 2:20949:d=2009090100:TPRATE:surface:0-2 day acc fcst:ENS=? table4.6=255 pert=0
> 3:41898:d=2009090100:TPRATE:surface:0-3 day acc fcst:ENS=? table4.6=255 pert=0
> .
> .
> .
> 60:1235991:d=2009090100:TPRATE:surface:0-60 day acc fcst:ENS=? table4.6=255 pert=0
> 61:1256940:d=2009090100:TPRATE:surface:0-61 day acc fcst:ENS=? table4.6=255 pert=0
> 62:1277889:d=2009090100:TPRATE:surface:0-62 day acc fcst:ENS=? table4.6=255 pert=0
> 
> 2. then created the ctl file 
> ./g2ctl.pl 1Sep2009.grib >rtl.ctl
> 3. when i try to create the index file I got an error 
> 
> macbook$ gribmap -i rtl.ctl
> gribmap: scanning GRIB2 file: 1Sep2009.grib 
> getpdstemplate: PDS Template 4.61 not defined.
> gribmap error: g2_getfld failed: ierr=11
> 
> any help
> or any other way to read grib file (ncl is welcome)
> Ousmane
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr

--
Jennifer Miletta Adams
Center for Ocean-Land-Atmosphere Studies (COLA)
George Mason University




_______________________________________________
gradsusr mailing list
gradsusr at gradsusr.org
http://gradsusr.org/mailman/listinfo/gradsusr



More information about the gradsusr mailing list