<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:10pt"><div style="" class=""><br style="" class=""></div><div style="" class=""><span style="" class="">Hello.</span></div><div class="" style="color:rgb(0, 0, 0);font-size:13.3333px;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;background-color:transparent;font-style:normal;"><span style="" class="">I would use ltrend.gs script but I dont know how do it.</span></div><div class="" style="color:rgb(0, 0, 0);font-size:13.3333px;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;background-color:transparent;font-style:normal;"><span style="" class="">best</span></div><div class="" style="color:rgb(0, 0, 0);font-size:13.3333px;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande,
 sans-serif;background-color:transparent;font-style:normal;"><span style="" class="">evra<br style="" class="" clear="none"></span></div> <br style="" class="" clear="none"> <div class="qtdSeparateBR"><br><br></div><div style="display: block;" class="yahoo_quoted"> <div class="" style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 10pt;"> <div class="" style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 12pt;"> <div style="" class="" dir="ltr"> <font style="" class="" face="Arial" size="2"> Le Mardi 2 septembre 2014 11h45, semou ndao &lt;semoundaola@yahoo.fr&gt; a écrit :<br style="" class=""> </font> </div>  <br style="" class=""><br style="" class=""> <div style="" class=""><div style="" class="" id="yiv5180926845"><div style="" class=""><div class="" style="color:#000;background-color:#fff;font-family:HelveticaNeue, Helvetica Neue, Helvetica,
 Arial, Lucida Grande, sans-serif;font-size:10pt;"><div style="" class=""><span style="" class="">Hello.</span></div><div class="" style="color:rgb(0, 0, 0);font-size:13.3333px;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;background-color:transparent;font-style:normal;"><span style="" class="">I would use ltrend.gs script but I dont now how do it.</span></div><div class="" style="color:rgb(0, 0, 0);font-size:13.3333px;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;background-color:transparent;font-style:normal;"><span style="" class="">best</span></div><div class="" style="color:rgb(0, 0, 0);font-size:13.3333px;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;background-color:transparent;font-style:normal;"><span style="" class="">evra<br style="" class="" clear="none"></span></div> <div style="" class=""><br style="" class=""
 clear="none"><br style="" class="" clear="none"></div><div style="" class="" id="yiv5180926845yqt89268"><div class="" style="display:block;"> <div class="" style="font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:10pt;"> <div class="" style="font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:12pt;"> <div style="" class="" dir="ltr"> <font style="" class="" face="Arial" size="2"> Le Mardi 2 septembre 2014 11h28, "gradsusr-request@gradsusr.org" &lt;gradsusr-request@gradsusr.org&gt; a écrit :<br style="" class="" clear="none"> </font> </div>  <br style="" class="" clear="none"><br style="" class="" clear="none"> <div style="" class="">Send gradsusr mailing list submissions to<br style="" class="" clear="none">&nbsp;&nbsp;&nbsp; <a style="" class="" rel="nofollow" shape="rect" ymailto="mailto:gradsusr@gradsusr.org" target="_blank"
 href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br style="" class="" clear="none"><br style="" class="" clear="none">To subscribe or unsubscribe via the World Wide Web, visit<br style="" class="" clear="none">&nbsp;&nbsp;&nbsp; <a style="" class="" rel="nofollow" shape="rect" target="_blank" href="http://gradsusr.org/mailman/listinfo/gradsusr">http://gradsusr.org/mailman/listinfo/gradsusr</a><br style="" class="" clear="none">or, via email, send a message with subject or body 'help' to<br style="" class="" clear="none">&nbsp;&nbsp;&nbsp; <a style="" class="" rel="nofollow" shape="rect" ymailto="mailto:gradsusr-request@gradsusr.org" target="_blank" href="mailto:gradsusr-request@gradsusr.org">gradsusr-request@gradsusr.org</a><br style="" class="" clear="none"><br style="" class="" clear="none">You can reach the person managing the list at<br style="" class="" clear="none">&nbsp;&nbsp;&nbsp; <a style="" class="" rel="nofollow" shape="rect"
 ymailto="mailto:gradsusr-owner@gradsusr.org" target="_blank" href="mailto:gradsusr-owner@gradsusr.org">gradsusr-owner@gradsusr.org</a><br style="" class="" clear="none"><br style="" class="" clear="none">When replying, please edit your Subject line so it is more specific<br style="" class="" clear="none">than "Re: Contents of gradsusr digest..."<br style="" class="" clear="none"><br style="" class="" clear="none"><br style="" class="" clear="none">Today's Topics:<br style="" class="" clear="none"><br style="" class="" clear="none">&nbsp;  1. probability distribution (mehwish ramzan)<br style="" class="" clear="none"><br style="" class="" clear="none"><br style="" class="" clear="none">----------------------------------------------------------------------<br style="" class="" clear="none"><br style="" class="" clear="none">Message: 1<br style="" class="" clear="none">Date: Tue, 2 Sep 2014 20:17:32 +0900<br style="" class="" clear="none">From: mehwish
 ramzan &lt;<a style="" class="" rel="nofollow" shape="rect" ymailto="mailto:mehwish.ramzan@gmail.com" target="_blank" href="mailto:mehwish.ramzan@gmail.com">mehwish.ramzan@gmail.com</a>&gt;<br style="" class="" clear="none">Subject: [gradsusr] probability distribution<br style="" class="" clear="none">To: GrADS Users Forum &lt;<a style="" class="" rel="nofollow" shape="rect" ymailto="mailto:gradsusr@gradsusr.org" target="_blank" href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>&gt;<br style="" class="" clear="none">Message-ID:<br style="" class="" clear="none">&nbsp;&nbsp;&nbsp; &lt;CA+rMR9wJsPJ_dD-XOT1O=ewHmfNYMWsgPnOPC1w1vBY4ytbk=<a style="" class="" rel="nofollow" shape="rect" ymailto="mailto:w@mail.gmail.com" target="_blank" href="mailto:w@mail.gmail.com">w@mail.gmail.com</a>&gt;<br style="" class="" clear="none">Content-Type: text/plain; charset="utf-8"<br style="" class="" clear="none"><br style="" class="" clear="none">Dear GrADS
 users,<br style="" class="" clear="none"><br style="" class="" clear="none">I want to calculate the probability of daily extreme precipitationby<br style="" class="" clear="none">classifying&nbsp; multiple precipitation bins (e.g. 0-10, 10-20, 20-30, onwards)<br style="" class="" clear="none">for 26 years of model output. And draw histogram for these bin against<br style="" class="" clear="none">probability (%).<br style="" class="" clear="none"><br style="" class="" clear="none">I looked for grads scripts&nbsp; but still didn't get any success.<br style="" class="" clear="none"><br style="" class="" clear="none">As an alternative, i tried to use the "const" function of GrADS to see the<br style="" class="" clear="none">number of days which exceeded 10mm/day for example.<br style="" class="" clear="none">==================================================<br style="" class="" clear="none"><br style="" class="" clear="none">'reinit'<br style="" class=""
 clear="none">'open r_pgb.ctl'<br style="" class="" clear="none">'set display color white'<br style="" class="" clear="none">'c'<br style="" class="" clear="none">'set lon 50 80'<br style="" class="" clear="none">'set lat 20 40'<br style="" class="" clear="none">'set time
 1jan1980 25dec1980'<br style="" class="" clear="none">'define p1= const(const(maskout(prate*60*60*24, prate*60*60*24 -<br style="" class="" clear="none">10),1),0,-u)'<br style="" class="" clear="none">'set x 1'<br style="" class="" clear="none">'set y 1'<br style="" class="" clear="none">'d tloop(aave(p1, lon=50, lon=80, lat=20, lat=40))'<br style="" class="" clear="none"><br style="" class="" clear="none">========================================================<br style="" class="" clear="none"><br style="" class="" clear="none">It worked fine and i get the output as well, but i am not sure of the<br style="" class="" clear="none">units. (please see attached figure. Should i&nbsp; multiply p1 by 100 to get<br style="" class="" clear="none">percentage? ).<br style="" class="" clear="none"><br style="" class="" clear="none">I would really appreciate if someone guide me, regarding making<br style="" class="" clear="none">precipitation bins in grad as it
 is my first priority.<br style="" class="" clear="none"><br style="" class="" clear="none"><br style="" class="" clear="none">Thank you<br style="" class="" clear="none"><br style="" class="" clear="none">With Best Regards,<br style="" class="" clear="none"><br style="" class="" clear="none">Mehwish<br style="" class="" clear="none">-------------- next part --------------<br style="" class="" clear="none">An HTML attachment was scrubbed...<br style="" class="" clear="none">URL: <a style="" class="" rel="nofollow" shape="rect" target="_blank" href="http://gradsusr.org/pipermail/gradsusr/attachments/20140902/4794eff5/attachment.html">http://gradsusr.org/pipermail/gradsusr/attachments/20140902/4794eff5/attachment.html </a><br style="" class="" clear="none">-------------- next part --------------<br style="" class="" clear="none">A non-text
 attachment was scrubbed...<br style="" class="" clear="none">Name: prob_prec.1980..gif<br style="" class="" clear="none">Type: image/gif<br style="" class="" clear="none">Size: 44246 bytes<br style="" class="" clear="none">Desc: not available<br style="" class="" clear="none">Url : <a style="" class="" rel="nofollow" shape="rect" target="_blank" href="http://gradsusr.org/pipermail/gradsusr/attachments/20140902/4794eff5/attachment.gif">http://gradsusr.org/pipermail/gradsusr/attachments/20140902/4794eff5/attachment.gif </a><br style="" class="" clear="none"><br style="" class="" clear="none">------------------------------<br style="" class="" clear="none"><br style="" class="" clear="none">_______________________________________________<br style="" class="" clear="none">gradsusr mailing list<br style="" class="" clear="none"><a style="" class="" rel="nofollow" shape="rect" ymailto="mailto:gradsusr@gradsusr.org" target="_blank"
 href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br style="" class="" clear="none"><a style="" class="" rel="nofollow" shape="rect" target="_blank" href="http://gradsusr.org/mailman/listinfo/gradsusr">http://gradsusr.org/mailman/listinfo/gradsusr</a><br style="" class="" clear="none"><br style="" class="" clear="none"><br style="" class="" clear="none">End of gradsusr Digest, Vol 55, Issue 2<br style="" class="" clear="none">***************************************<br style="" class="" clear="none"><br style="" class="" clear="none"><br style="" class="" clear="none"></div>  </div> </div>  </div></div> </div></div></div><br style="" class=""><br style="" class=""></div>  </div> </div>  </div> </div></body></html>