<div dir="ltr">Hi, <span style="font-family:arial,sans-serif;font-size:13px">Dave.</span><div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div><font face="arial, sans-serif">Thanks very much for showing me your code, It helps me learning GrADS Script.</font></div>
<div><font face="arial, sans-serif"><br></font></div><div>I had used python interface to grads to implement this, with a few lines of python code, very easy and straightforward.</div><div><br></div><div><span style="font-family:arial,sans-serif;font-size:13px">Brandon.</span><br>
</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Oct 1, 2013 at 3:28 AM, Ryglicki, David CIV FNMOC <span dir="ltr"><<a href="mailto:david.ryglicki@navy.mil" target="_blank">david.ryglicki@navy.mil</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">And then I went ahead and attached my script, anyway.<br>
<br>
Anyway, Brandon, the key trick I learned in the past for plume plots is a clunky work-around by defining the percentile variables in t and y, but setting x-size as t-size, which you'll see in my define statements. Later on, after a bubble sort, you can set defval, chunking through the time variable, and that'll eventually get you enough information to plot the percentiles as a faux x-variable.<br>
<br>
It's extremely clunky and convoluted, but I got it to work to make plume plot percentiles.<br>
<br>
David Ryglicki, Ph.D.<br>
N3 Models<br>
Fleet Numerical Meteorology and Oceanography Center<br>
Room 702, Room 146<br>
831|656|4519<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
<br>
-----Original Message-----<br>
From: <a href="mailto:gradsusr-bounces@gradsusr.org">gradsusr-bounces@gradsusr.org</a> on behalf of Ryglicki, David CIV FNMOC<br>
Sent: Mon 9/30/2013 11:35 AM<br>
To: GrADS Users Forum<br>
Subject: Re: [gradsusr] How to calculate "quartile" like value usinggradsscript?<br>
<br>
Hi, Brandon.<br>
<br>
Are you trying to make a plume plot or 2-D spatial plots?<br>
<br>
~Dave<br>
<br>
-----Original Message-----<br>
From: <a href="mailto:gradsusr-bounces@gradsusr.org">gradsusr-bounces@gradsusr.org</a> on behalf of Brandon Brown<br>
Sent: Mon 9/30/2013 4:09 AM<br>
To: GrADS Users Forum<br>
Subject: Re: [gradsusr] How to calculate "quartile" like value using gradsscript?<br>
<br>
I have known how to this.<br>
<br>
Thanks.<br>
<br>
On 9/30/13, Brandon Brown <<a href="mailto:whicily1988@gmail.com">whicily1988@gmail.com</a>> wrote:<br>
> Hi Jennifer<br>
><br>
> Thanks for pointing out this, it saves my time.<br>
><br>
> I am planning to use pygrads instead, but pygrads does not support<br>
> ensemble, I can't import result back to grads.<br>
><br>
> After some reseach , it seems that I can write binary data with vars<br>
> and dims, but all samples use fortran witch I am not familiar with, ;(<br>
> , is there some specs to do this, thus I can python.<br>
><br>
> Great thanks.<br>
><br>
><br>
> On 9/30/13, Jennifer Adams <<a href="mailto:jma@cola.iges.org">jma@cola.iges.org</a>> wrote:<br>
>> Unfortunately, GrADS does not have sorting built in (yet), so there is no<br>
>> straightforward way to do the quartile-like calculations you are asking<br>
>> for.<br>
>> Perhaps other members of the forum can offer their workarounds.<br>
>> --Jennifer<br>
>><br>
>> On Sep 26, 2013, at 3:00 AM, Brandon Brown wrote:<br>
>><br>
>>> Hi,<br>
>>><br>
>>> I am newbie, now I want to draw a boxplot, but I don't now how to<br>
>>> calculate the values which ares quartile like.<br>
>>><br>
>>> As you know, quartile calculate q1(25%), q2(50%), q3(75%), and now I<br>
>>> want<br>
>>> to calculate q1(15%), q2(25%), q3(50%), q4(75%), q5(85%).<br>
>>><br>
>>> Could any one help me, thanks.<br>
>>><br>
>>> Brown.<br>
>>> _______________________________________________<br>
>>> gradsusr mailing list<br>
>>> <a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
>>> <a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
>><br>
>> --<br>
>> Jennifer M. Adams<br>
>> Center for Ocean-Land-Atmosphere Studies (COLA)<br>
>> 111 Research Hall, Mail Stop 2B3<br>
>> George Mason University<br>
>> 4400 University Drive<br>
>> Fairfax, VA 22030<br>
>><br>
>><br>
>><br>
>><br>
>><br>
>><br>
><br>
_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
</div></div></blockquote></div><br></div>