<br><font size=3>Hernán</font><font size=2 face="sans-serif">,</font><br><font size=2 face="sans-serif">I have done it three different ways:</font><br><br><font size=2 face="sans-serif">1. Use "set gxout print" and
"prnopts" along with "write" command to output data
as text file, which I can then read or open directly in Excel.</font><br><font size=2 face="sans-serif">2. Use "fwrite" to output
field as gridded binary, which I can then read and load into an Excel spreadsheet
using VB macro code.</font><br><font size=2 face="sans-serif">3. Extract data gridpoint-by-gridpoint
using "q defval..." in a lat/lon loop while using "write"
command to output to an Excel-compatible CSV or other text file.</font><br><br><font size=2 face="sans-serif">Stephen Mc</font><br><br><br><table width=100%><tr valign=top><td width=40%><font size=1 face="sans-serif"><b>hersala <hersala@GMAIL.COM></b></font><br><font size=1 face="sans-serif">Sent by: GRADSUSR@LIST.CINECA.IT</font><p><font size=1 face="sans-serif">04/28/2008 01:43 PM</font><table border><tr valign=top><td bgcolor=white><div align=center><font size=1 face="sans-serif">Please respond to<br>GRADSUSR@LIST.CINECA.IT</font></div></table><br><td width=59%><table width=100%><tr valign=top><td><div align=right><font size=1 face="sans-serif">To</font></div><td><font size=1 face="sans-serif">GRADSUSR@LIST.CINECA.IT</font><tr valign=top><td><div align=right><font size=1 face="sans-serif">cc</font></div><td><tr valign=top><td><div align=right><font size=1 face="sans-serif">Subject</font></div><td><font size=1 face="sans-serif">Re: Calculating Percentiles in GrADS</font></table><br><table><tr valign=top><td><td></table><br></table><br><br><font size=3>Hi Stephen:</font><br><font size=3>Sorry, because I am answering your question with another
question, in fact I do not know how to do what are you asking.</font><br><font size=3>But, if you let me, how do you export the info that you
are visualising in GrADS to Excel?</font><br><font size=3>Thanks in advance,</font><br><font size=3>Hernán</font><br><br><font size=3>2008/4/28 Stephen R McMillan <</font><a href=mailto:smcmillan@planalytics.com><font size=3 color=blue><u>smcmillan@planalytics.com</u></font></a><font size=3>>:</font><br><br><font size=2 face="sans-serif">I found nothing in the user archives
to address this question: Is there a relatively simple way to calculate
various percentiles in GrADS? For example:</font><br><br><font size=2 face="sans-serif">1. Assume I have a 30-year dataset
of daily mean temperature values for an x-y domain, contained in a single
3D (x,y,t) gridded file</font><br><font size=2 face="sans-serif">2. Desired output: a single 3D
gridded file containing 11 variables for each gridpoint, per day of year
(excluding Feb 29th): 0th pcntile, 10th pcntile, 20th pcntile...100th pcntile.
In other words, there would be 30 data values to analyze per grid location
(each Jan 1st, each Jan 2nd...each Dec 31st).</font><br><br><font size=2 face="sans-serif">My alternative would be to evaluate
text output in Excel then re-convert to gridded, but I'd prefer to keep
in GrADS.</font><br><br><font size=2 face="sans-serif">I'm using GrADS v1.9.0-rc1 (win32) on
Win XP Pro. </font><br><br><font size=2 face="sans-serif">Stephen Mc</font><br><br><font size=3>***************************************************</font><br><font size=3>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.</font><br><font size=3>***************************************************</font><br><br><br><br><font size=3>-- </font><br><font size=3>En </font><a href=http://www.porloschicos.com><font size=3 color=blue><u>www.porloschicos.com</u></font></a><font size=3>con sólo dos clicks podés donar un plato de comida diaria a chicos carenciados.
</font><br><BR>
<BR>
***************************************************<BR>
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.<BR>
***************************************************<BR>