<div dir="ltr">Hi....Thanku its working....!!!</div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Oct 18, 2014 at 11:56 AM, Sridhara Nayak <span dir="ltr">&lt;<a href="mailto:sridharanayakiitkgp@gmail.com" target="_blank">sridharanayakiitkgp@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div></div><div><div><div class="gmail_extra"><br><div class="gmail_quote"><span class="">On Fri, Oct 17, 2014 at 11:41 PM, Gargi Akhoury <span dir="ltr">&lt;<a href="mailto:gargiakhoury@bitmesra.ac.in" target="_blank">gargiakhoury@bitmesra.ac.in</a>&gt;</span> wrote:<br></span><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"><span class="">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>&#39;sdfopen &#39;<a href="http://t1000.nc" target="_blank">t1000.nc</a>&#39;&#39;   %open netcdf file</div><div><span style="color:rgb(255,0,0)"><b>&#39;set lat -90 90&#39;  <br></b></span></div></span><div><b><span style="color:rgb(255,0,0)">&#39;set lon 0 360&#39;  </span>  Remove these three lines<br></b></div><span class=""><div><span style="color:rgb(255,0,0)"><b>&#39;set t 1 780&#39;</b></span></div><div><br></div><div><br></div><div>tt=6                                % starting time from June month</div><div> while(tt&lt;=780)</div><div>&#39;set t &#39;tt</div><div>&#39;define june=aave(t1000-273.15,lon=0,lon=360,lat=-2.5,lat=2.5)&#39;   % displaying June data of required latitude</div><div><br></div><div>&#39;d june&#39;</div><div> tt=tt+1</div><div>&#39;set t &#39;tt</div><div>&#39;define jul=aave(t1000-273.15,lon=0,lon=360,lat=-2.5,lat=2.5)&#39;</div><div>&#39;d jul&#39;</div><div> tt=tt+1</div><div>&#39;set t &#39;tt</div><div>&#39;define aug=aave(t1000-273.15,lon=0,lon=360,lat=-2.5,lat=2.5)&#39;</div><div>&#39;d aug&#39;</div><div> tt=tt+1</div><div>&#39;set t &#39;tt</div><div>&#39;define sep=aave(t1000-273.15,lon=0,lon=360,lat=-2.5,lat=2.5)&#39;</div><div>&#39;d sep&#39;</div><div>&#39;define eq=(june+jul+aug+sep)/4.0&#39;   % average of four months</div><div>&#39;d eq&#39;</div><div>tt=tt+9</div><div><br></div><div>endwhile</div><div><br></div><div><br></div><div>Regards</div><div><br></div></span></div>
<br>_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org" target="_blank">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>
<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></div>