grib2ctl.pl problem

Wesley Ebisuzaki Wesley.Ebisuzaki at NOAA.GOV
Tue Jan 26 15:03:59 EST 2010


All,

   I thought about adding minutes to g2ctl and it wasn't hard.  Mike 
Masscotte did
the testing because I didn't have any realistic samples. 

           ftp://ftp.cpc.ncep.noaa.gov/wd51we/g2ctl/g2ctl.alpha

       Wesley


-------- Original Message --------
Subject: 	Re: grib2ctl.pl problem
Date: 	Fri, 22 Jan 2010 09:48:31 -0500
From: 	Wesley Ebisuzaki <wesley.ebisuzaki at noaa.gov>
To: 	GRADSUSR at LIST.CINECA.IT
References: 	<20100121103432.40462.qmail at f4mail207.rediffmail.com>



Litta,

     grib2ctl doesn't minute time steps.  The only way is to try to 
modify the TDEF
statement as you have attempted.  Your attempt may have failed because 
of a space between
30 and mn. It could have also failed because the TDEF has a starting 
time 00Z11may2009
where your file may have started NN minutes after the hour.  
(00:NNZ11may2009).
You should use the gribmap -v option to check for matches.

    I have no plans to add minutes to grib2ctl because grib2 is 
replacing grib1.  I'll
think of adding minutes to g2ctl.

         Wesley







Litta AJ wrote:
> Hi,
>
> I have got half hourly output files for 24 hours by running wrf post 
> processor(WPP). The following are the examples..
> WRFPRS_d01.000_00, WRFPRS_d01.000_30, 
> WRFPRS_d01.000_30WRFPRS_d01.001_30, ....., WRFPRS_d01.023_00, 
> WRFPRS_d01.023_30, WRFPRS_d01.024_00.
>
> I have created .ctl files by using grib2ctl.pl
>
> For that, i have made a concatenated file by cat command. then 
> grib2ctl.pl and gribmap
>
> cat WRFPRS_d01.000_00, WRFPRS_d01.000_30, ....., WRFPRS_d01.023_30, 
> WRFPRS_d01.024_00 > wrfprs_d01
> grib2ctl.pl -verf wrfprs_d01 > wrfprs_d01.ctl
> gribmap -i wrfprs_d01.ctl
>
> But i am not getting the half hourly output. It is producing hourly 
> output. I have changed the time definition of wrfprs_d01.ctl file
> from
> tdef 25 linear 00Z11may2009 1hr
> to
> tdef 49 linear 00Z11may2009 30 mn
>
> Then also i didn't get the output... How can we plot the half hourly 
> outputs through grads using grib2ctl.pl?
> Please help
>
> with best regards,
> Litta
>
> Ms. Litta A. J.
> Project Scientist
> Centre for Atmospheric Sciences
> Indian Institute of Technology (IIT)
> Hauz Khas
> New Delhi - 110016
> Ph: 09891717507
> <http://sigads.rediff.com/RealMedia/ads/click_nx.ads/www.rediffmail.com/signatureline.htm@Middle?> 
>
>



More information about the gradsusr mailing list