<font color='black' size='2' face='arial'>Hi<font size="2">, <br>
<br>
<font size="2">First you have to define a season like this...<br>
<br>
<font size="2">after opening the files, <font size="2">and selecting your domain<br>
</font></font></font>e.g </font>set lat -<font size="2">10 10</font>'<br>
'set lon 50 180'<br>
*'set mproj scaled'<br>
'set time 'd1''mmm1''y1' 'dn''mmmn''yn''<font size="2"> where </font> 'd1''mmm1''y1<font size="2"> is the beginning <font size="2">and </font></font>'dn''mmmn''yn''<font size="2"> is the end, eg set time 01march2010 20dec<font size="2">2015<br>
<br>
</font></font>'define t=ave(sst,time='d1''mmm1',time='dn''mmmn')'<font size="2"> eg set <font size="2">t=ave(sst,time=01j<font size="2">u<font size="2">n</font></font>,time=31<font size="2">aug</font>) for JJA season </font></font><br>
'set time 'dn''mmmn''yn''<br>
<font size="2">then you use your season like the <font size="2">line be<font size="2">low to include the parameter you d<font size="2">efine<font size="2">d as the season.</font></font></font></font></font><br>
'define ct=ave(t,time='d1''mmm1''y1',time='dn''mmmn''yn')'<font size="2"> </font><br>
'undefine t'<br>
<br>
<font size="2">All the best, if <font size="2">you don't unders<font size="2">tand anything you are free to <font size="2">inbox<font size="2"> me</font></font></font></font></font><br>
<font color="black" face="arial" size="2">
<div> <br>
</div>
<div> <br>
</div>
<div style="clear:both">Mary Ndlovu<br>
maryndlovu@aol.com<br>
</div>
<div> <br>
</div>
<div> <br>
</div>
<div style="font-family:arial,helvetica;font-size:10pt;color:black">-----Original Message-----<br>
From: leonardo <leoclarke@yahoo.com><br>
To: Grads Users <gradsusr@gradsusr.org><br>
Sent: Wed, May 8, 2013 5:51 pm<br>
Subject: [gradsusr] Seasonal Average<br>
<br>
<div id="AOLMsgPart_2_8405642f-9a7c-4c84-944d-ca9e6f65e7e4">
<div class="aolReplacedBody">
<div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:10pt">
<div>Their GrADS Users.</div>
<div><br>
</div>
<div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: arial,helvetica,sans-serif; background-color: transparent; font-style: normal;">I have a monthly data set and I want to create a seasonal index.</div>
<div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: arial,helvetica,sans-serif; background-color: transparent; font-style: normal;"><br>
</div>
<div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: arial,helvetica,sans-serif; background-color: transparent; font-style: normal;">I tried using "seasonAve = mean(sst,t-1,t+1,12)" which I saw</div>
<div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: arial,helvetica,sans-serif; background-color: transparent; font-style: normal;">online but it is not working.</div>
<div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: arial,helvetica,sans-serif; background-color: transparent; font-style: normal;"><br>
</div>
<div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: arial,helvetica,sans-serif; background-color: transparent; font-style: normal;">Can anyone help? <br>
</div>
<div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: arial,helvetica,sans-serif; background-color: transparent; font-style: normal;"><br>
</div>
<div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: arial,helvetica,sans-serif; background-color: transparent; font-style: normal;">Thnaks</div>
<div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: arial,helvetica,sans-serif; background-color: transparent; font-style: normal;">LC<br>
</div>
</div>
</div>
</div>
<div id="AOLMsgPart_3_8405642f-9a7c-4c84-944d-ca9e6f65e7e4" style="margin: 0px;font-family: Tahoma, Verdana, Arial, Sans-Serif;font-size: 12px;color: #000;background-color: #fff;">
<pre style="font-size: 9pt;"><tt>_______________________________________________
gradsusr mailing list
<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a>
</tt></pre>
</div>
<!-- end of AOLMsgPart_3_8405642f-9a7c-4c84-944d-ca9e6f65e7e4 -->
</div>
</font></font>