<div dir="ltr"><div><span style="font-family:verdana,sans-serif">Hi all! Is there a way that I can transform this script to get the sum of the variables instead of the average??  </span><font face="verdana,sans-serif"><br>
</font></div><font face="verdana,sans-serif"><div><font face="verdana,sans-serif"><br></font></div><div><br></div><div><b> /opt/grads30d/bin/gradsc -bpc &quot;run /opt/grads30d/scripts/<a href="http://lats4d.gs">lats4d.gs</a> -i /data/CR_presente_1960-1990/binctl/Eta_exp110km1960010100.ctl -o  ../climat_6190/media_$mes$ano -ftype ctl -format grads_grib -mean -vars pslm pslc tp2m dp2m u10m v10m prec prcv neve clsf cssf ghfl tsfc qsfc tgsc tgrz ussl uzrs smav rnof evpp lwnv mdnv hinv cbnt ocis olis oces oles roce role albe agpl zgeo uvel vvel temp umrl omeg umes -time 00z01$mese[$mes]$ano 18z30$mese[$mes]$ano -levs 1000 925 850 500 250 -table cptec.table&quot;</b></div>
<div><b><br></b></div><div><br></div><div><b><br></b></div><div><br></div></font><div style>Thank you for your help!</div><div><br></div>-- <br><div dir="ltr"><a name="SafeHtmlFilter_SafeHtmlFilter_SafeHtmlFilter_SafeHtmlFilter__MailAutoSig"><i><span lang="ES-CR" style="font-size:10pt;font-family:&#39;Lucida Fax&#39;,serif;color:rgb(31,73,125)">Estefanía Jiménez R.</span></i></a><br>
<span style="color:rgb(31,73,125);font-family:&#39;Lucida Fax&#39;,serif;font-size:13px">Meteoróloga</span><br><span style="color:rgb(31,73,125);font-family:&#39;Lucida Fax&#39;,serif;font-size:13px">Departamento de Climatología e Investigaciones Aplicadas</span><br>
<span style="color:rgb(31,73,125);font-family:&#39;Lucida Fax&#39;,serif;font-size:13px">Instituto Meteorológico Nacional</span><br><span style="color:rgb(31,73,125);font-family:&#39;Lucida Fax&#39;,serif;font-size:13px">MINAET</span><div>
<span style="color:rgb(31,73,125);font-family:&#39;Lucida Fax&#39;,serif;font-size:10pt">Tel: +506 2222 5616 ext 131</span>







</div></div>
</div>