Help, CFS data and grib2ctl

Elizabeth Castañeda eliza at AT.FCEN.UBA.AR
Mon Feb 25 12:41:04 EST 2008


Dear GRADS users,
I have a monthly Grib file: prate.ensm.jan.cfs.data . I would like to
write the .ctl file for plotting it.

I use wgrib to see it structure. I use grib2ctl.pl in order to write the
.ctl file:

grib2ctl -verf prate.ensm.jan.cfs.dat  > ensm_jul.ctl

and received a .ctl file as following :

dset ^prate.ensm.jan.cfs.data
index ^prate.ensm.jan.cfs.data.idx
undef 9.999E+20
title prate.ensm.jan.cfs.data
*  produced by grib2ctl v0.9.12.5p39c
dtype grib 98
options yrev
xdef 192 linear 0.000000 1.875
ydef 94 levels
 -88.542 -86.653 -84.753 -82.851 -80.947 -79.043 -77.139 -75.235 -73.331
-71.426
 -69.522 -67.617 -65.713 -63.808 -61.903 -59.999 -58.094 -56.189 -54.285
-52.380
 -50.475 -48.571 -46.666 -44.761 -42.856 -40.952 -39.047 -37.142 -35.238
-33.333
 -31.428 -29.523 -27.619 -25.714 -23.809 -21.904 -20.000 -18.095 -16.190
-14.286
 -12.381 -10.476  -8.571  -6.667  -4.762  -2.857  -0.952   0.952   2.857
4.762
   6.667   8.571  10.476  12.381  14.286  16.190  18.095  20.000  21.904
23.809
  25.714  27.619  29.523  31.428  33.333  35.238  37.142  39.047  40.952
42.856
  44.761  46.666  48.571  50.475  52.380  54.285  56.189  58.094  59.999
61.903
  63.808  65.713  67.617  69.522  71.426  73.331  75.235  77.139  79.043
80.947
  82.851  84.753  86.653  88.542
tdef 273 linear 00Z01feb1981 1mo
zdef 1 linear 1 1
vars 1
PRATEsfc  0 59,1,0  ** surface Precipitation rate [kg/m^2/s]
ENDVARS

This .ctl file contain tdef defined for 273.
This file have 23 years, each year has the forecast for lead 1-9.
Shouldn’t I have 23 * 9 = 207 times in “tdef”?

What is wrong?

Thanks

--
M. Elizabeth Castañeda
Departamento de Ciencias de la Atmosfera y los Oceanos
Ciudad Universitaria. Pabellon II. Piso 2
C1428EHA - Buenos Aires
ARGENTINA

Tel. (54 11) 4576-3356/3364 ext. 22
Fax  (54 11) 4576-3356/3364 ext. 12

eliza at at.fcen.uba.ar
elizabethcastaneda at hotmail.com
elizabethcastaneda at gmail.com



More information about the gradsusr mailing list