[gradsusr] 24hrs Accumulated TRMM Rainfall

Sravan sravan_sase at yahoo.in
Fri Feb 18 03:51:51 EST 2011


Thanks Subash,
Its working now..

Sravan
 

________________________________
From: Subash Yeggina <subash.yeggina at gmail.com>
To: GrADS Users Forum <gradsusr at gradsusr.org>
Sent: Fri, 18 February, 2011 12:20:12 AM
Subject: Re: [gradsusr] 24hrs Accumulated TRMM Rainfall


Hi! Sravan

Another way would be to create a ".ctl" file using template.  The contents of 
.ctl file is shown below..

dset ^3B42.%y2%m2%d2.%h2z.bin             
title TRMM Global daily total rainfall
undef    -9999.0
options big_endian template
xdef 1440 linear  0.125   0.250
ydef  400 linear   -49.875   0.250
zdef 1 linear 1 1
tdef   9  linear 00z04Jan2011 3hr
vars  1
r 0 99 3 hourly rain rate (mm)
endvars


Regards,
Subash


On Thu, Feb 17, 2011 at 8:04 PM, Teddy Allen <teddyallen at yahoo.com> wrote:

I suppose the long method would involve opening them all up through unique ctl 
files (different variable name for each file, ex: r1,r2,r3,etc...). Then in 
GrADS simply define a new variable , rTOT = r1 + r2.2 + r3.3.....   , then d 
rTOT
>
>I am sure that there is a better or more streamlined approach, but this 
>cavalier method should work.
> 
>http://www.teddyallen.com
>"To move quickly, go alone. To move far, go together." 
>African Proverb
>
>
>
>
>
________________________________
From: Sravan <sravan_sase at yahoo.in>
>To: grads <gradsusr at gradsusr.org>
>Sent: Thu, February 17, 2011 5:46:45 AM
>Subject: [gradsusr] 24hrs Accumulated TRMM Rainfall
>
>
>
>Dear GrADS Users,
>I want to plot 24hrs accumulated rainfall from the following files which i have 
>downloaded from FTP site.
>3B42RT.2011.01.14.00z.bin
>3B42RT.2011.01.14.03z.bin
>3B42RT.2011.01.14.06z.bin
>3B42RT.2011.01.14.09z.bin
>3B42RT.2011.01.14.12z.bin
>3B42RT.2011.01.14.15z.bin
>3B42RT.2011.01.14.18z.bin
>3B42RT.2011.01.14.21z.bin
>3B42RT.2011.01.15.00z.bin
>
>
>Provided 3B42RT.CTLdset 3B42RT.2011.01.14.00z.bin
>options byteswapped 
>title Three Hourly TRMM and Other Satellite Rainfall (3B42RT) 
>undef -99999.0 
>xdef 1440 linear 0.12500000 0.25000000 
>ydef 480 linear -59.8750000 0.25000000 
>zdef 1 levels 1000 
>tdef 9 inear 00:00Z14jan2011 3hr
>* end_time 12:00Z16feb2011 (this_is_comment_line)
>vars 1 
>r 0 99 Hourly Rainfall (mm) 
>endvars   
>What can be done to find out 24hrs accumulated rainfall?
> 
>Hope for the best reply.
> 
>Regards
>Sravan
>
>
>_______________________________________________
>gradsusr mailing list
>gradsusr at gradsusr.org
>http://gradsusr.org/mailman/listinfo/gradsusr
>
>


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20110218/44cb97f6/attachment-0003.html 


More information about the gradsusr mailing list