problem with grib2ctl

Tetsuo Nakazawa nakazawa at MRI-JMA.GO.JP
Mon Mar 31 05:32:10 EDT 2008


Dear Wesley-sama or someone who can help,

  When I ran the grib2ctl to the grib data, I created ctl file with
only 1 time stamp.
I found that there are more than 120 time stamps in the original grib
data.

  How can I change the number of time steps, from 1 to the appropriate
number.

  The gribmap for the data is something like this.

PDS #1    255  33 100 1000   3 232 BMSFLG: 0 2008 03 19 12 00  11
0   0   1        1
PDS #2    255  33 100  925   3 157 BMSFLG: 0 2008 03 19 12 00  11
0   0   1        1
PDS #3    255  33 100  850   3  82 BMSFLG: 0 2008 03 19 12 00  11
0   0   1        1
PDS #4    255  33 100  700   2 188 BMSFLG: 0 2008 03 19 12 00  11
0   0   1        1
PDS #5    255  33 100  600   2  88 BMSFLG: 0 2008 03 19 12 00  11
0   0   1        1
PDS #6    255  33 100  500   1 244 BMSFLG: 0 2008 03 19 12 00  11
0   0   1        1
PDS #7    255  33 100  400   1 144 BMSFLG: 0 2008 03 19 12 00  11
0   0   1        1
PDS #8    255  33 100  300   1  44 BMSFLG: 0 2008 03 19 12 00  11
0   0   1        1
PDS #9    255  33 100  250   0 250 BMSFLG: 0 2008 03 19 12 00  11
0   0   1        1
PDS #10   255  33 100  200   0 200 BMSFLG: 0 2008 03 19 12 00  11
0   0   1        1
PDS #11   255  33 100  150   0 150 BMSFLG: 0 2008 03 19 12 00  11
0   0   1        1
PDS #12   255  33 100  100   0 100 BMSFLG: 0 2008 03 19 12 00  11
0   0   1        1
PDS #13   255  33 100   70   0  70 BMSFLG: 0 2008 03 19 12 00  11
0   0   1        1
PDS #14   255  33 100   50   0  50 BMSFLG: 0 2008 03 19 12 00  11
0   0   1        1
PDS #15   255  33 100   30   0  30 BMSFLG: 0 2008 03 19 12 00  11
0   0   1        1
PDS #16   255  33 100   20   0  20 BMSFLG: 0 2008 03 19 12 00  11
0   0   1        1
PDS #17   255  33 100   10   0  10 BMSFLG: 0 2008 03 19 12 00  11
0   0   1        1
PDS #18   255  33 100    7   0   7 BMSFLG: 0 2008 03 19 12 00  11
0   0   1        1
PDS #19   255  33 100    5   0   5 BMSFLG: 0 2008 03 19 12 00  11
0   0   1        1
PDS #20   255  33 100    3   0   3 BMSFLG: 0 2008 03 19 12 00  11
0   0   1        1
PDS #21   255  33 100    2   0   2 BMSFLG: 0 2008 03 19 12 00  11
0   0   1        1
PDS #22   255  33 100    1   0   1 BMSFLG: 0 2008 03 19 12 00  11
0   0   1        1
PDS #23   255  33 100 1000   3 232 BMSFLG: 0 2008 03 19 12 00  11
1   0   0        1
PDS #24   255  33 100  925   3 157 BMSFLG: 0 2008 03 19 12 00  11
1   0   0        1
PDS #25   255  33 100  850   3  82 BMSFLG: 0 2008 03 19 12 00  11
1   0   0        1
PDS #26   255  33 100  700   2 188 BMSFLG: 0 2008 03 19 12 00  11
1   0   0        1
PDS #27   255  33 100  600   2  88 BMSFLG: 0 2008 03 19 12 00  11
1   0   0        1
PDS #28   255  33 100  500   1 244 BMSFLG: 0 2008 03 19 12 00  11
1   0   0        1
PDS #29   255  33 100  400   1 144 BMSFLG: 0 2008 03 19 12 00  11
1   0   0        1
PDS #30   255  33 100  300   1  44 BMSFLG: 0 2008 03 19 12 00  11
1   0   0        1
PDS #31   255  33 100  250   0 250 BMSFLG: 0 2008 03 19 12 00  11
1   0   0        1
PDS #32   255  33 100  200   0 200 BMSFLG: 0 2008 03 19 12 00  11
1   0   0        1
PDS #33   255  33 100  150   0 150 BMSFLG: 0 2008 03 19 12 00  11
1   0   0        1
PDS #34   255  33 100  100   0 100 BMSFLG: 0 2008 03 19 12 00  11
1   0   0        1
PDS #35   255  33 100   70   0  70 BMSFLG: 0 2008 03 19 12 00  11
1   0   0        1
PDS #36   255  33 100   50   0  50 BMSFLG: 0 2008 03 19 12 00  11
1   0   0        1
PDS #37   255  33 100   30   0  30 BMSFLG: 0 2008 03 19 12 00  11
1   0   0        1
PDS #38   255  33 100   20   0  20 BMSFLG: 0 2008 03 19 12 00  11
1   0   0        1
PDS #39   255  33 100   10   0  10 BMSFLG: 0 2008 03 19 12 00  11
1   0   0        1
PDS #40   255  33 100    7   0   7 BMSFLG: 0 2008 03 19 12 00  11
1   0   0        1
PDS #41   255  33 100    5   0   5 BMSFLG: 0 2008 03 19 12 00  11
1   0   0        1
PDS #42   255  33 100    3   0   3 BMSFLG: 0 2008 03 19 12 00  11
1   0   0        1
PDS #43   255  33 100    2   0   2 BMSFLG: 0 2008 03 19 12 00  11
1   0   0        1
PDS #44   255  33 100    1   0   1 BMSFLG: 0 2008 03 19 12 00  11
1   0   0        1

A created ctl file is the following.

dset ^u_2008031912_00.grb
index ^u_2008031912_00.grb.idx
undef 9.999E+20
title u_2008031912_00.grb
*  produced by grib2ctl v0.9.12.5p39c
dtype grib 255
options yrev
ydef 73 linear -90.000000 2.5
xdef 144 linear 0.000000 2.500000
tdef 1 linear 12Z19mar2008 1mo
*  z has 22 levels, for prs
zdef 22 levels
1000 925 850 700 600 500 400 300 250 200 150 100 70 50 30 20 10 7 5 3
2 1
vars 1
UGRDprs 22 33,100,0 ** (profile) u wind [m/s]
ENDVARS


********************************************
Tetsuo Nakazawa
                       nakazawa at mri-jma.go.jp
Typhoon Research Department
Meteorological Research Institute
Tel:  029-853-8671 Fax: 029-853-8735
********************************************



More information about the gradsusr mailing list