Grib file Template !!
Eric Altshuler
ela at COLA.IGES.ORG
Thu May 7 14:41:52 EDT 2009
Dear Kiran Salunke,
You need to have the following in your dset line:
dset ^T254_IND_%f2h.grb
Use %f2 instead of %h2 because the time information in the file names is given by forecast hour (2 or 3 digits). You should also have all the options on one line:
options yrev template
And your tdef line should have 21 instead of 20 in it, because there are 21 time levels (including the 00 hr forecast).
Then run gribmap on the .ctl file after you make these changes.
Best regards,
Eric L. Altshuler
Assistant Research Scientist
Center for Ocean-Land-Atmosphere Studies
4041 Powder Mill Road, Suite 302
Calverton, MD 20705-3106
USA
E-mail: ela at cola.iges.org
Phone: (301) 902-1257
Fax: (301) 595-9793
----- Original Message -----
From: "Kiran Salunke" <kiran at TROPMET.RES.IN>
To: GRADSUSR at LIST.CINECA.IT
Sent: Thursday, May 7, 2009 7:58:16 AM GMT -05:00 US/Canada Eastern
Subject: Grib file Template !!
Hello everybody,
I have a data (6hrly) in grib format. I would like to make it in
.ctl format using grib2ctl.pl script.It's a five day forecast (120 hr) files.
The following *.ctl working for one day i.e (06hr,12hr,18hr) it's not
running for 24hr because it is next day.
The files are as follow:
T254_IND_00h.grb T254_IND_36h.grb
T254_IND_06h.grb T254_IND_42h.grb
T254_IND_12h.grb T254_IND_48h.grb
T254_IND_18h.grb T254_IND_54h.grb
T254_IND_24h.grb .
T254_IND_30h.grb .
. T254_IND_120h.grb
----------------------------------------
I am writing in this way:
---------------------------------------------
dset ^T254_IND_%h2h.grb
index ^fcs.idx
undef 9.999E+20
title fcs
* produced by grib2ctl v0.9.12.5p45
dtype grib 255
options template
options yrev
ydef 161 linear -20.000000 0.5
xdef 241 linear 20.000000 0.500000
tdef 20 linear 00Z04may2009 06hr
* z has 26 levels, for prs
zdef 26 levels
1000 975 950 925 900 850 800 750 700 650 600 550 500 450 400 350 300 250 200
150 100 70 50 30 20 10
vars 222
........
........
......
........
......
thanks in advance,
Mr.kiran salunke
Indian Institute of Tropical Meteorology
Dr. homi Bhabha rd, Ncl Post
Pashan Pune-411008
Maharashtra India.
More information about the gradsusr
mailing list