Hiren,<br>First, prepare to use a lot of loops.<br><br>For each grid point, you'll have to collect all the precipitation values using code that looks like this<br><br>'set x 'xx<br>'set y 'yy<br>'d precip'<br>
precip_value = subwrd(result,4)<br>precip_xx.n = precip_value<br><br>where xx and yy are looping index values for your grid points, and n is an integer index to represent the number of values in your precipitation distribution at each grid point. Note that you may have to include the line 'line = sublin(result,2)' if your display command doesn't result in text the way I assumed it would here. TO check it, just type 'd precip' at the command prompt with the previous settings already applied and see what the output is. Then adjust your code accordingly. NOTE: your actual precipitation grid name may not be "precip". Change that as well to suit your specific data.<br>
<br>After that's done, you'll have to sort the data so you can define the 90th and 99th percentiles. There are a number of ways to do that.<br><br>Finally, you'll have to define a domain sized grid. Call it whatever you want, but make sure it has the same size as the domain. Then, at each grid point, use the command 'set defval ....' to redefine the value of your new field with that of the 90th or 99th percentile of precip.<br>
<br>Jeff Duda<br><br><div class="gmail_quote">On Wed, Nov 28, 2012 at 6:00 AM, hiren dave <span dir="ltr"><<a href="mailto:hiren_dave85@yahoo.com" target="_blank">hiren_dave85@yahoo.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div style="font-size:12pt;font-family:times new roman,new york,times,serif"><div><span>Dear all</span></div><div><span><span> <span> I am having gridded rainfall data set for 40 years. I want to know how to find out 90th and 99th percentile of daily rainfall series at each grid cell, considering days with only nonzero rainfall for the whole period of 40 year. </span></span></span></div>
<span class="HOEnZb"><font color="#888888"><div></div><div> </div><div><div style="margin:5px 0px;padding:0px;border:1px solid rgb(204,204,204);min-height:0px;line-height:0;font-size:0px" readonly></div>Hiren Dave</div><div>
Research Schoolar</div><div>Gujarat University</div><div>Ahmedabad-India </div><div><div style="margin:5px 0px;padding:0px;border:1px solid rgb(204,204,204);min-height:0px;line-height:0;font-size:0px" readonly></div><br><br>
</div></font></span></div></div><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></blockquote></div><br><br clear="all"><br>-- <br>Jeff Duda<br>Graduate research assistant<br>University of Oklahoma School of Meteorology<br>Center for Analysis and Prediction of Storms<br><br>