Brian,<br>I have two suggestions:<br>1) If you can crack open the data outside of grads, say using Fortran, try creating the variable outside of Grads and then displaying it in Grads<br>2) Use the <a href="http://www.iges.org/grads/gadoc/gadocindex.html">set defval</a> command to manually define the values of a variable.� While I haven&#39;t used the command myself, I&#39;m pretty sure it&#39;s what you are looking for.� You&#39;d just have to run two while loops using the I and J of the model grid, then run the max command on a small box centered on each (I,J) coordinate point and get the max value like you are trying to do.� Then set that value to your variable using the set defval command.<br>
<br>Hope this helps.<br><br>Jeff Duda<br><br><div class="gmail_quote">On Thu, Aug 18, 2011 at 8:59 AM, Walsh, Brian J <span dir="ltr">&lt;<a href="mailto:brian.walsh@amec.com">brian.walsh@amec.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">





<div link="blue" vlink="purple" lang="EN-US">
<div>
<p class="MsoNormal">Hello Grads Users,<u></u><u></u></p>
<p class="MsoNormal"><u></u>�<u></u></p>
<p class="MsoNormal">I�m trying to calculate the maximum 3-hourly precipitation amounts from one model in a given domain.<u></u><u></u></p>
<p class="MsoNormal"><u></u>�<u></u></p>
<p class="MsoNormal">So, for instance, if I choose a point (say 46.0 N 57.0W), I would like to get the maximum 3-hourly precipitation amounts from the GFS for the surrounding grid points (i.e. I don�t want a point forecast prediction).� I�m not sure if I can
 have it output the maximum amount from the nearest neighbor grid points or if I need to specify a domain.<u></u><u></u></p>
<p class="MsoNormal"><u></u>�<u></u></p>
<p class="MsoNormal">I�ve tried the max function without success and was hoping someone may have done something similar and it worked.� I�m looking to output the data into a file, not plot it.<u></u><u></u></p>
<p class="MsoNormal"><u></u>�<u></u></p>
<p class="MsoNormal">Any help would be greatly appreciated.<u></u><u></u></p>
<p class="MsoNormal"><u></u>�<u></u></p>
<p class="MsoNormal">Thanks<u></u><u></u></p>
<p class="MsoNormal"><u></u>�<u></u></p>
<p class="MsoNormal">Brian<u></u><u></u></p>
</div>
<br>
<hr>
<font size="1" color="Gray" face="Arial">The information contained in this e-mail is intended only for the individual or entity to whom it is addressed.<br>
Its contents (including any attachments) may contain confidential and/or privileged information.<br>
If you are not an intended recipient you must not use, disclose, disseminate, copy or print its contents.<br>
If you receive this e-mail in error, please notify the sender by reply e-mail and delete and destroy the message.<br>
</font>
</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>Iowa State University<br>Meteorology Graduate Student<br><a href="http://www.meteor.iastate.edu/%7Ejdduda" target="_blank">www.meteor.iastate.edu/~jdduda</a><br>