Loop

Becker, Bernd bernd.becker at METOFFICE.GOV.UK
Thu Jun 30 11:23:09 EDT 2005


Please sent some out put from:
gribmap -v -i lili.ctl

On Thu, 2005-06-30 at 15:13, Isha Renta wrote:
> GrADS Users:
>
> I am trying to plot  loop for the .ctl file that I have. My data is in
> grib format. I ran grib2ctl.pl to get the .ctl file. I also changed the
> tdef of all the .ctl files  to
>
> tdef 22 linear 12Z29sep2002 6hr
>
> I then ran gribmap for all the .ctl. I can view output for a each level
> in dependently but if I try to make a loop, "set t 1 5", I first get
> the "t 1" plot and for the "t 2,3,4, and 5" I get the "Cannot contour
> grid - all undefined values" and the "Entire grid undefined"  on the
> plot window. Even if I just try to plot "set t 2" I get the "Cannot
> contour grid - all undefined values" message in the terminal window and
> the "Entire grid undefined"  on the plot window. I don't know what can
> cause this.The .ctl file looks like this:
>
> dset ^lili13l.2002092912.gribn2.f06
> index ^lili13l.2002092912.gribn2.f06.idx
> undef 9.999E+20
> title lili13l.2002092912.gribn2.f06
> *  produced by grib2ctl v0.9.12.5p33k
> dtype grib 255
> ydef 66 linear 13.583000 0.167
> xdef 66 linear -82.916000 0.167000
> tdef 22 linear 12Z29sep2002 6hr
> zdef 20 levels
> 1000 950 900 850 800 750 700 650 600 550 500 450 400 350 300 250 200
> 150 100 50
> vars 10
> APCPsfc  0 61,1,0  ** surface Total precipitation [kg/m^2]
> HGTprs 20 7,100,0 ** Geopotential height [gpm]
> PRMSLmsl  0 2,102,0  ** Pressure reduced to MSL [Pa]
> RHprs 20 52,100,0 ** Relative humidity [%]
> TMPsfc  0 11,1,0  ** surface Temp. [K]
> TMPprs 20 11,100,0 ** Temp. [K]
> UGRDprs 20 33,100,0 ** u wind [m/s]
> UGRDhag  0 33,105,35  ** u wind [m/s]
> VGRDprs 20 34,100,0 ** v wind [m/s]
> VGRDhag  0 34,105,35  ** v wind [m/s]
> ENDVARS
>
> Does anyone know how could I solve this?
>
> Thanks for help,
> Isha
--
Bernd Becker   The Monthly Outlook
Met Office  FitzRoy Road  Exeter   Devon EX1 3PB  United Kingdom
Tel.: +44 (0) 1392 884511 Fax: +44 (0)870 900 5050
E-mail:bernd.becker at metoffice.gov.uk -  http://www.metoffice.gov.uk



More information about the gradsusr mailing list