Jeff,<br><br>��� Thanks much for the updated information.� The updated error messages are as follows.� The ranges of x and y should be suitable for aave(u, x=65, x=93, y=37, y=65).� I don&#39;t understand where &quot;Out of Range&quot; came from.<br>
<br>��� Thanks,<br><br>����������������� Yi-Chih<br><br>############################################################<br>ga-&gt; q file<br>File 1 : OUTPUT FROM WRF V3.3 MODEL<br>� Descriptor: Morakot_d01.ctl<br>� Binary: Morakot_d01_%y4-%m2-%d2_%h2:%n2.dat<br>
� Type = Gridded<br>� Xsize = 94� Ysize = 84� Zsize = 27� Tsize = 57� Esize = 1<br><br>#############################################################<br>ga-&gt; test<br>SET DEFVAL Error:� Out of Range<br>SET DEFVAL Error:� Out of Range<br>
SET DEFVAL Error:� Out of Range<br>SET DEFVAL Error:� Out of Range<br>SET DEFVAL Error:� Out of Range<br>SET DEFVAL Error:� Out of Range<br>SET DEFVAL Error:� Out of Range<br>SET DEFVAL Error:� Out of Range<br>SET DEFVAL Error:� Out of Range<br>
SET DEFVAL Error:� Out of Range<br>SET DEFVAL Error:� Out of Range<br>SET DEFVAL Error:� Out of Range<br>SET DEFVAL Error:� Out of Range<br>SET DEFVAL Error:� Out of Range<br>SET DEFVAL Error:� Out of Range<br>SET DEFVAL Error:� Out of Range<br>
SET DEFVAL Error:� Out of Range<br>SET DEFVAL Error:� Out of Range<br>SET DEFVAL Error:� Out of Range<br>SET DEFVAL Error:� Out of Range<br>SET DEFVAL Error:� Out of Range<br>SET DEFVAL Error:� Out of Range<br>SET DEFVAL Error:� Out of Range<br>
SET DEFVAL Error:� Out of Range<br>SET DEFVAL Error:� Out of Range<br>SET DEFVAL Error:� Out of Range<br>SET DEFVAL Error:� Out of Range<br>SET DEFVAL Error:� Out of Range<br>SET DEFVAL Error:� Out of Range<br>SET DEFVAL Error:� Out of Range<br>
SET DEFVAL Error:� Out of Range<br>SET DEFVAL Error:� Out of Range<br>SET DEFVAL Error:� Out of Range<br>SET DEFVAL Error:� Out of Range<br>SET DEFVAL Error:� Out of Range<br>SET DEFVAL Error:� Out of Range<br>SET DEFVAL Error:� Out of Range<br>
SET DEFVAL Error:� Out of Range<br>SET DEFVAL Error:� Out of Range<br>SET DEFVAL Error:� Out of Range<br>SET DEFVAL Error:� Out of Range<br>SET DEFVAL Error:� Out of Range<br>SET DEFVAL Error:� Out of Range<br>SET DEFVAL Error:� Out of Range<br>
SET DEFVAL Error:� Out of Range<br>SET DEFVAL Error:� Out of Range<br>SET DEFVAL Error:� Out of Range<br>SET DEFVAL Error:� Out of Range<br>SET DEFVAL Error:� Out of Range<br>SET DEFVAL Error:� Out of Range<br>SET DEFVAL Error:� Out of Range<br>
SET DEFVAL Error:� Out of Range<br>SET DEFVAL Error:� Out of Range<br>SET DEFVAL Error:� Out of Range<br>SET DEFVAL Error:� Out of Range<br>SET DEFVAL Error:� Out of Range<br>SET DEFVAL Error:� Out of Range<br>SET DEFVAL Error:� Out of Range<br>
Syntax Error:� Invalid Operand <br>� &#39;u_value&#39; not a variable or function name<br>� Error ocurred at column 1<br>DISPLAY error:� Invalid expression <br>� Expression = u_value<br><br>###########################################�� <a href="http://test.gs">test.gs</a><br>
ii = 65<br>jj = 37<br>ii_max = 93<br>jj_max = 65<br>&#39;define uave = 0&#39;<br>&#39;define vave = 0&#39;<br>&#39;d aave(u, x=65, x=93, y=37, y=65)&#39;<br>u_value = subwrd(result,4)<br>&#39;d aave(v, x=65, x=93, y=37, y=65)&#39;<br>
v_value = subwrd(result,4)<br>while (ii &lt;= ii_max)<br>�� while (jj &lt;= jj_max)<br>����� &#39;set defval uave &#39;ii&#39; &#39;jj&#39; &#39;u_value<br>����� &#39;set defval vave &#39;ii&#39; &#39;jj&#39; &#39;v_value<br>
����� jj = jj + 1<br>�� endwhile<br>�� ii = ii + 1<br>endwhile<br><br>&#39;d u_value;v_value&#39;<br>#############################################<br><br><div class="gmail_quote">On Wed, Nov 9, 2011 at 4:48 PM, Jeff Duda <span dir="ltr">&lt;<a href="mailto:jeffduda319@gmail.com">jeffduda319@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Yi-Chih,<br>For my second suggestion, just define the variable as a dummy value first.� <br>
<br>define uave = 0<br>define vave = 0<br><br>I think set defval will then overwrite the data.<br><br>Jeff</blockquote></div>