<div dir="ltr"><br><div class="gmail_extra"><div style="font-size:12.8px"><div>'open temp.ctl' </div><div><span style="font-size:12.8px">'set x 1 144'</span><br></div><div>'set y 1 73'</div><div>'set t 1 780'</div><div><br></div><div><br></div><div>'define tmp=ave(temp-273.15,t=1,t=780,12)' , <font color="#0000ff">%increment with 12 values and taking their average</font></div><div>'d tmp'</div><div>'set x 1' <font color="#0000ff">% include this<br></font></div><div>'set y 1'<font color="#0000ff"> % include this<br></font></div><div>'define tmmp=amax(tmp,lon=0,lon=360,lat=-90,lat=90)'</div><div>'d tmmp'</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><br><br><div class="gmail_quote">On Tue, Sep 8, 2015 at 11:38 AM, Gargi Akhoury <span dir="ltr"><<a href="mailto:gargiakhoury@bitmesra.ac.in" target="_blank">gargiakhoury@bitmesra.ac.in</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><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>'open temp.ctl' </div><div><span style="font-size:12.8px">'set x 1 144'</span><br></div><div>'set y 1 73'</div><div>'set t 1 780'</div><div><br></div><div><br></div><div>'define tmp=ave(temp-273.15,t=1,t=780,12)' , <font color="#0000ff">%increment with 12 values and taking their average</font></div><div>'d tmp'</div><div>'define tmmp=amax(tmp,lon=0,lon=360,lat=-90,lat=90)'</div><div>'d tmmp'</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>
<br>_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" rel="noreferrer" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><span style="font-family:arial,helvetica,sans-serif">कान्हू चरण पट्टनायक<br></span></div><span style="font-family:arial,helvetica,sans-serif"><font size="2"><span dir="ltr"><font color="black"><span style="background-color:white">Dr. Kanhu Charan Pattnayak<br>
Post-Doctoral Research Fellow<br>
Garstang 10.14<br>
School of Geography<br>
University of Leeds<br>
Leeds, LS2 9JT, UK<br>
Tel: +44 (0) 113 34 36571<br>
<a href="http://www.geog.leeds.ac.uk/people/k.pattnayak" target="_blank">http://www.geog.leeds.ac.uk/people/k.pattnayak</a></span></font></span></font></span></div></div></div></div></div></div>
</div></div>