Template files
Oscar Andres Frumento
oscar at CENPAT.EDU.AR
Thu Sep 24 13:19:53 EDT 2009
Isabella,
it seems that the actual ctl file miss several lines; furthermore, you should
have to build an "idx" file from the "new" ctl file using the command
"gribmap".
DSET ^gpfs%y4%m2%d2%h2cp_24h.grbA
OPTIONS template
undef 9.999E+20
xdef 360 linear 0.000000 1.000000
ydef 181 linear -90.000000 1
zdef 1 linear 1 1
TDEF 5 LINEAR 00Z1Jan1958 1dy
vars 1
cp 0 143,1,0 Convective precipitation (accum.) (m)
ENDVARS
your ctl file have to look like the following one:
dset ^gpfs%y4&m2%d200cp_24h.grb
index ^template_grb.idx
undef 9.999E+20
title ^gpfs1958101000cp_24h.grb
* produced by /usr/local/badcdat/bin/badcGrib.py
dtype grib 255
options yrev template
ydef 181 linear -90.000000 1
xdef 360 linear 0.000000 1.000000
tdef nnn linear 00Z11oct1958 1dy
zdef 1 linear 1 1
vars 1
cp 0 143,1,0 Convective precipitation (accum.) (m)
ENDVARS
nnn is the number of times you are going to use in the complete set of files,
ie, one year of data nnn = 365.
oscar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090924/d0e2fd0c/attachment.html
More information about the gradsusr
mailing list