[gradsusr] Unable to plot data after gribmap

Brad Navarro brad.navarro at wni.com
Wed Apr 30 16:26:55 EDT 2014


Greetings,

I have 8 files which are named gfs.t18z.pgrbf00_run2.grib2, gfs.t18z.pgrbf24_run2.grib2,....gfs.t18z.pgrbf168_run2.grib2 (24hr increments). The first file is valid at 06Z07MAY2014.
I setup my control file per the below and run gribmap, which runs perfectly fine with no errors.  However, when I plot, only the t=1 works, the rest give me a "grid undefined" error. So it seems GrADS is unable to open the other data files. I must admit that I am stumped on this one, though it seems pretty straightforward. Does anyone have any ideas as to why this is not working?


dset ^gfs.t18z.pgrbf%f2_run2.grib2
index ^run2.idx
options template
undef 9.999E+20
title gfs.t18z.pgrbf00_run2.grib2
*  produced by g2ctl v0.0.4o
* griddef=1:0:(360 x 181):grid_template=0:winds(N/S): lat-lon grid:(360 x 181) units 1e-06 input WE:NS output WE:SN res 48 lat 90.000000 to -90.000000 by 1.000000 lon 0.000000 to 359.000000 by 1.000000 #points=65160:winds(N/S)

dtype grib2
ydef 181 linear -90.000000 1
xdef 360 linear 0.000000 1.000000
tdef 8 linear 06Z07MAY2014 24hr
zdef 1 linear 1 1
vars 6
HGT500mb   0,100,50000   0,3,5 ** 500 mb Geopotential Height [gpm]
PRMSLmsl   0,101,0   0,3,1 ** mean sea level Pressure Reduced to MSL [Pa]
UGRD500mb   0,100,50000   0,2,2 ** 500 mb U-Component of Wind [m/s]
UGRD10m   0,103,10   0,2,2 ** 10 m above ground U-Component of Wind [m/s]
VGRD500mb   0,100,50000   0,2,3 ** 500 mb V-Component of Wind [m/s]
VGRD10m   0,103,10   0,2,3 ** 10 m above ground V-Component of Wind [m/s]
ENDVARS


Regards,
Brad




More information about the gradsusr mailing list