Calculating Percentiles in GrADS

Stephen R McMillan smcmillan at PLANALYTICS.COM
Mon Apr 28 17:02:13 EDT 2008


You are missing a command. After your 'set lev 1000', try:

'set gxout shaded'
'd ave(air,t=10,t=100)'
'run cbar'

Alternatively:
'define var=ave(air,t=10,t=100)'
'set gxout shaded'
'd var'
'run cbar'

Stephen Mc



hersala <hersala at GMAIL.COM> 
Sent by: GRADSUSR at LIST.CINECA.IT
04/28/2008 03:42 PM
Please respond to
GRADSUSR at LIST.CINECA.IT


To
GRADSUSR at LIST.CINECA.IT
cc

Subject
Re: Calculating Percentiles in GrADS





Please, 
Can someone explain me why this little script does not average air 
temperature "air" from t=10 to t=100.
In the command window appears this message: Unknown command ave
I´m using grads-1.8sl11-win32e with a sdf file from NCEP (air.mon.mean.nc
).

c
set lat -90 90
set lon 0 360
set lev 1000
ave (air,t=10, t=100)
set gxout shaded
d air
run cbar

Thanks !




***************************************************
The information contained in this e-mail message is intended only for the use of the recipient(s) named above and may contain information that is privileged, confidential, and/or proprietary.  If you are not the intended recipient, you may not review, copy or distribute this message.  If you have received this communication in error, please notify the sender immediately by e-mail, and delete the original message.
***************************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20080428/db10145b/attachment.html 


More information about the gradsusr mailing list