<div dir="ltr"><div></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Oct 17, 2014 at 11:41 PM, 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> Below is the program for seasonal average, but it is giving error, need help regarding this, it is not working</div><div> </div><div><br></div><div>'sdfopen '<a href="http://t1000.nc" target="_blank">t1000.nc</a>'' %open netcdf file</div><div><span style="color:rgb(255,0,0)"><b>'set lat -90 90' <br></b></span></div><div><b><span style="color:rgb(255,0,0)">'set lon 0 360' </span> Remove these three lines<br></b></div><div><span style="color:rgb(255,0,0)"><b>'set t 1 780'</b></span></div><div><br></div><div><br></div><div>tt=6 % starting time from June month</div><div> while(tt<=780)</div><div>'set t 'tt</div><div>'define june=aave(t1000-273.15,lon=0,lon=360,lat=-2.5,lat=2.5)' % displaying June data of required latitude</div><div><br></div><div>'d june'</div><div> tt=tt+1</div><div>'set t 'tt</div><div>'define jul=aave(t1000-273.15,lon=0,lon=360,lat=-2.5,lat=2.5)'</div><div>'d jul'</div><div> tt=tt+1</div><div>'set t 'tt</div><div>'define aug=aave(t1000-273.15,lon=0,lon=360,lat=-2.5,lat=2.5)'</div><div>'d aug'</div><div> tt=tt+1</div><div>'set t 'tt</div><div>'define sep=aave(t1000-273.15,lon=0,lon=360,lat=-2.5,lat=2.5)'</div><div>'d sep'</div><div>'define eq=(june+jul+aug+sep)/4.0' % average of four months</div><div>'d eq'</div><div>tt=tt+9</div><div><br></div><div>endwhile</div><div><br></div><div><br></div><div>Regards</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" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br></blockquote></div><br><br clear="all">This program may write all the June, July, Aug, Sep, and JJAS average value in the grads window in text format from the year 1 to (780/12)th year....<br><br></div></div></div></div>