Grads and ECMWF data error

Wesley Ebisuzaki Wesley.Ebisuzaki at NOAA.GOV
Mon Sep 25 11:20:31 EDT 2006


Jeremy,

       Grib2ctl assumes that all the fields use the same grid.  For your
file, records 1 and 2
are on a 144x29 grid (255).  The  remaining records are on a 144x73 grid
(2).    To extract the
global grid, you can use wgrib

wgrib -s nrecmgrb25.t00z -PDS | sed
's/PDS=............\(..\)[0-9a-f]*:*/grid=\1h:/' | grep "grid=02h" |
wgrib -i nrecmgrb25.t00z -grib -o new.grib

Yes, it does look the results of a monkey banging on a keyboard.
However, you should be able to plot "new.grib".


      Wesley

Jeremy Gaultier wrote:
> 1Hello,
>
> I have the following error when I wish posted the data under grads (with the
> order d PRMSLsfc :
>
> Cannot contour grid - all undefined values
>
> First of all I use the file grib available here :
> ftp://ftpprd.ncep.noaa.gov/pub/data/nccf/com/mrf/prod/ecmwf.20060925/
>
> File : nrecmgrb25.t00z
>
> I make initially this order :
>
> ./grib2ctl.pl -verf nrecmgrb25.t00z > test.ctl
>
> Then that there :
>
> gribmap -i test.ctl
>
> I open then my file with gradsc.
>
> From or the problem comes? can you help me?
>
> Thank you in advance
>
> Good day
>



More information about the gradsusr mailing list