grib2ctl
Daniel Leins
Daniel.Leins at NOAA.GOV
Tue Apr 12 14:54:44 EDT 2005
Indeed, this did work, I don't know what I did wrong initially.
I downloaded the 24hr mesoeta prog from the ncep server. Since the
dataset is only valid for the +24hr time period, is the verification
time the same as the
initial time? I assume it is, since following both examples provided
the same results.
Dan
Wesley Ebisuzaki wrote:
> Dan,
>
> Works for me.
>
> If you want to use the verification time, use
>
> grib2ctl.pl -verf gribfile >gribfile.ctl
> gribmap -i gribfile.ctl
>
> If you want to use the initial time (start of the forecast), use
>
> grib2ctl.pl gribfile >gribfile.ctl
> gribmap -0 -i gribfile.ctl
>
> Wesley
>
>
> Daniel Leins wrote:
>
>> List,
>>
>> Has anyone had any success in downloading NCEP grib data from
>> ftp://ftpprd.ncep.noaa.gov/pub/data/nccf/com/nam/prod, and converting it
>> into a GrADS readable format using either this "degrib" or grib2ctl?
>> I've tried to use grib2ctl, I can generate a ctl file,, however when I
>> `gribmap -v -i model.ctl`, this is the output I get...
>>
>> gribmap: Scanning binary GRIB file(s):
>> gribmap: Opening GRIB file nam.t12z.awp21112.tm00
>> ----- Time out of bounds: 1 9918 211 1 0 130 102
>> 0 89 0 13 btim: 2005040812:00 tau: 12 dtim:
>> 2005040900:00
>> ----- Time out of bounds: 2 19836 211 1 0 2 102 0
>> 10007 0 13 btim: 2005040812:00 tau: 12 dtim: 2005040900:00
>> ----- Time out of bounds: 3 25974 211 1 0 41 100 250
>> 19925 0 8 btim: 2005040812:00 tau: 12 dtim: 2005040900:00
>> ----- Time out of bounds: 4 32112 211 1 0 41 100 500
>> 26063 0 8 btim: 2005040812:00 tau: 12 dtim: 2005040900:00
>> ----- Time out of bounds: 5 38250 211 1 0 41 100 700
>> 32201 0 8 btim: 2005040812:00 tau: 12 dtim: 2005040900:00
>> ----- Time out of bounds: 6 44388 211 1 0 41 100 850
>> 38339 0 8 btim: 2005040812:00 tau: 12 dtim: 2005040900:00
>> ----- Time out of bounds: 7 51282 211 1 0 41 100 1000
>> 44477 0 9 btim: 2005040812:00 tau: 12 dtim: 2005040900:00
>> ----- Time out of bounds: 8 63466 211 1 0 1 1 0
>> 51371 0 16 btim: 2005040812:00 tau: 12 dtim: 2005040900:00
>> ----- Time out of bounds: 9 74138 211 1 0 7 1 0
>> 63555 0 14 btim: 2005040812:00 tau: 12 dtim: 2005040900:00
>> ----- Time out of bounds: 10 80276 211 1 0 11 105 2
>> 74227 0 8 btim: 2005040812:00 tau: 12 dtim: 2005040900:00
>> ----- Time out of bounds: 11 85660 211 1 0 52 105 2
>> 80365 0 7 btim: 2005040812:00 tau: 12 dtim: 2005040900:00
>> ----- Time out of bounds: 12 91044 211 1 0 33 105 10
>> 85749 0 7 btim: 2005040812:00 tau: 12 dtim: 2005040900:00
>> ----- Time out of bounds: 13 96428 211 1 0 34 105 10
>> 91133 0 7 btim: 2005040812:00 tau: 12 dtim: 2005040900:00
>> ----- Time out of bounds: 14 103322 211 1 0 61 1 0
>> 96517 0 9 btim: 2005040812:00 tau: 12 dtim: 2005040900:00
>>
>>
>> etc.....all the way down through Time out of bounds: 181. The map is
>> written, however when I try and display anything within GrADS, I'm told
>> that "Entire Grid undefined".
>>
>> I followed the directions verbatim at
>> http://grads.iges.org/grads/gadoc/grib2.html, can anyone enlighten me on
>> what I may have done wrong? I've included some of my model.ctl file,
>> which is quite lengthy, but here's some of it anyway.
>>
>> dset ^nam.t12z.awp21112.tm00
>> index ^nam.t12z.awp21112.tm00.idx
>> undef 9.999E+20
>> title nam.t12z.awp21112.tm00
>> * produced by grib2ctl v0.9.12.5p33k
>> dtype grib 211
>> pdef 93 65 lcc 12.19 -133.459 1 1 25 25 -95 81270.5 81270.5
>> xdef 161 linear -140 0.5
>> ydef 81 linear 20 0.5
>> tdef 1 linear 12Z08apr2005 1mo
>> zdef 19 levels
>> 1000 950 900 850 800 750 700 650 600 550 500 450 400 350 300 250 200 150
>> 100
>> vars 69
>> no4LFTX180_0mb 0 132,116,46080 ** 180-0 mb above gnd Best (4-layer)
>> lifted index [K]
>> ABSVprs 5 41,100,0 ** Absolute vorticity [/s]
>> ACPCPsfc 0 63,1,0 ** surface Convective precipitation [kg/m^2]
>> APCPsfc 0 61,1,0 ** surface Total precipitation [kg/m^2]
>> CAPEsfc 0 157,1,0 ** surface Convective Avail. Pot. Energy [J/kg]
>> CAPE180_0mb 0 157,116,46080 ** 180-0 mb above gnd Convective Avail.
>> Pot. Energy [J/kg]
>> CAPE90_0mb 0 157,116,23040 ** 90-0 mb above gnd Convective Avail. Pot.
>> Energy [J/kg]
>> CFRZRsfc 0 141,1,0 ** surface Categorical freezing rain [yes=1;no=0]
>> CICEPsfc 0 142,1,0 ** surface Categorical ice pellets [yes=1;no=0]
>> CINsfc 0 156,1,0 ** surface Convective inhibition [J/kg]
>> CIN180_0mb 0 156,116,46080 ** 180-0 mb above gnd Convective inhibition
>> [J/kg]
>> CIN90_0mb 0 156,116,23040 ** 90-0 mb above gnd Convective inhibition
>> [J/kg]
>>
>>
>> Thanks,
>> Dan Leins
>
More information about the gradsusr
mailing list