<div dir="ltr">Hi Dr. Gamal, You can run scripts in grads like a program, can be programmed with C language basic type, the end of the script save it with extension &quot;gs&quot; on the same folder of the WRF output ( like this: &quot;<a href="http://file.gs">file.gs</a>&quot;) later opening grads call it with the command &quot;run <a href="http://file.gs">file.gs</a>&quot;. I attached a script created for me to automatically generate maps of rainfall and stores the result in a specific folder, you can edit as you like for your needs: <div>

<br></div><div><div>#Script PARA PRECIPITACION TOTAL</div><div>&#39;c&#39;</div><div>&#39;set t 1&#39;</div><div>t = 1</div><div>name = 03</div><div>while (t &lt;= 41)</div><div>&#39;set gxout shaded&#39;</div><div>&#39;set t &#39;t&#39;&#39;</div>

<div>&#39;d rainc&#39;</div><div>&#39;cbar&#39;</div><div>&#39;set gxout contour&#39;</div><div>&#39;d rainc&#39;</div><div>&#39;q time&#39;</div><div>x1=sublin(result,1)</div><div>t1=subwrd(x1,3)</div><div>t2=subwrd(x1,5)</div>

<div>&#39;draw title PRECIPITACION TOTAL ACUMULADA PARA &#39;t1&#39; &#39;</div><div>&#39;wi /home/jjfigueroa/WRF/SALIDAS/00Z/ppt&#39;t&#39;.png&#39;</div><div>&#39;c&#39;</div><div>t= t+1</div><div>endwhile </div><div><br>

</div><div>PD: Sorry for my bad english.</div><div><br></div><div>Juan Jose Amides Figueroa</div><div>Servicio Meteorologico Nacional de El Salvador</div><div>Ministerio de Medio Ambiente y Recursos Naturales.</div><br><div class="gmail_quote">

On Tue, Mar 1, 2011 at 8:38 AM,  <span dir="ltr">&lt;<a href="mailto:gradsusr-request@gradsusr.org">gradsusr-request@gradsusr.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

WRF output (Dr.Gamal El Afandi)</blockquote></div><br></div></div>