<div dir="ltr">Hello,<div>     I want to do the average of time i.e months from January to December. The script is below but it is not working, kindly help me.....!!!</div><div><br></div><div><div style="font-size:12.8px"><div>&#39;open temp.ctl&#39;   </div><div><span style="font-size:12.8px">&#39;set x 1 144&#39;</span><br></div><div>&#39;set y 1 73&#39;</div><div>&#39;set t 1 780&#39;</div><div><br></div><div><br></div><div>&#39;define tmp=ave(temp-273.15,t=1,t=780,12)&#39;  , <font color="#0000ff">%increment with 12 values and taking their average</font></div><div>&#39;d tmp&#39;</div><div>&#39;define tmmp=amax(tmp,lon=0,lon=360,lat=-90,lat=90)&#39;</div><div>&#39;d tmmp&#39;</div><div><br></div><div>val=subwrd(result,4)</div><div>hj=write(temp_eq.csv,val)</div></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Regards</div></div><div><br></div></div>