<div dir="ltr"><font face="verdana,sans-serif">this the script for only one file</font><div><font face="verdana,sans-serif"><b><br></b></font></div><div><font face="verdana,sans-serif"><div><b>'reinit'</b></div><div>
<b>'open /data/climat_6190_2/media2_01.ctl'</b></div><div><b>'set display color white'</b></div><div><b>'c'</b></div><div><b>'enable print /data/climat_6190_2/Lluvia6190_01.gmf'</b></div><div>
<b>'set gxout shaded'</b></div><div><b>'set mpdset hires'</b></div><div><b>'set lat 7.5 11.5'</b></div><div><b>'set lon -86.5 -82.5'</b></div><div><b>'set cmin 1'</b></div><div><b>'d prec*1000*4'</b></div>
<div><b>'draw title Precipitaci`6p`0n media diaria 1961-1990 enero'</b></div><div><b>'run /opt/grads30d/scripts/<a href="http://cbarn.gs">cbarn.gs</a>'</b></div><div><b>'print'</b></div><div><b>'disable print'</b></div>
<div><b>'!/opt/grads30d/scripts/gxgif -r -i /data/climat_6190_2/Lluvia6190_01.gmf -o /data/climat_6190_2/Lluvia6190_01.gif'</b></div><div><b>'!rm /data/climat_6190_2/Lluvia6190_01.gmf'</b></div><div><b>'q pos'</b></div>
<div><b>'quit'</b></div><div><br></div></font></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/2/5 Estefanía Jiménez <span dir="ltr"><<a href="mailto:estefaniajimenez.r@gmail.com" target="_blank">estefaniajimenez.r@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><font face="verdana,sans-serif">Hi all! How can I do to do a script that plots and saves the same image for several files? For example, I have 30 files that I need to get the rain in an image and save it... I have the script for one file but how can I change it to make it work for all the 30 files? So I don't have to run the script 30 times... </font><div>
<font face="verdana,sans-serif"><br></font></div><div><font face="verdana,sans-serif">Thanks! <span class="HOEnZb"><font color="#888888"><br clear="all"></font></span></font><span class="HOEnZb"><font color="#888888"><div>
<br></div>-- <br><div dir="ltr"><a name="13cab1d259015a6d_SafeHtmlFilter_SafeHtmlFilter_SafeHtmlFilter_SafeHtmlFilter__MailAutoSig"><i><span lang="ES-CR" style="font-size:10.0pt;font-family:"Lucida Fax","serif";color:#1f497d">Estefanía Jiménez R.</span></i></a><br>
<br></div>
</font></span></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><a name="SafeHtmlFilter_SafeHtmlFilter_SafeHtmlFilter_SafeHtmlFilter__MailAutoSig"><i><span lang="ES-CR" style="font-size:10.0pt;font-family:"Lucida Fax","serif";color:#1f497d">Estefanía Jiménez R.</span></i></a><br>
<span style="color:rgb(31,73,125);font-family:'Lucida Fax',serif;font-size:13px">Meteoróloga</span><br><span style="color:rgb(31,73,125);font-family:'Lucida Fax',serif;font-size:13px">Departamento de Climatología e Investigaciones Aplicadas</span><br>
<span style="color:rgb(31,73,125);font-family:'Lucida Fax',serif;font-size:13px">Instituto Meteorológico Nacional</span><br><span style="color:rgb(31,73,125);font-family:'Lucida Fax',serif;font-size:13px">MINAET</span><div>
<span style="color:rgb(31,73,125);font-family:'Lucida Fax',serif;font-size:10pt">Tel: +506 2222 5616 ext 131</span>
</div></div>
</div>