<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 "gs" on the same folder of the WRF output ( like this: "<a href="http://file.gs">file.gs</a>") later opening grads call it with the command "run <a href="http://file.gs">file.gs</a>". 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>'c'</div><div>'set t 1'</div><div>t = 1</div><div>name = 03</div><div>while (t <= 41)</div><div>'set gxout shaded'</div><div>'set t 't''</div>
<div>'d rainc'</div><div>'cbar'</div><div>'set gxout contour'</div><div>'d rainc'</div><div>'q time'</div><div>x1=sublin(result,1)</div><div>t1=subwrd(x1,3)</div><div>t2=subwrd(x1,5)</div>
<div>'draw title PRECIPITACION TOTAL ACUMULADA PARA 't1' '</div><div>'wi /home/jjfigueroa/WRF/SALIDAS/00Z/ppt't'.png'</div><div>'c'</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"><<a href="mailto:gradsusr-request@gradsusr.org">gradsusr-request@gradsusr.org</a>></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>