<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><br>Hi,<div><br></div><div>How about using CDO?</div><div><br></div><div>As he has netcdf &nbsp;dataset&nbsp;</div><div><br></div><div><br></div><div>You ca try something like</div><div><br></div><div><br></div><div><font class="Apple-style-span" color="#ff0000">cdo selseas,JJA &nbsp; infile.nc &nbsp;outfile.nc</font></div><div><br></div><div><br></div><div>Regards</div><div><br></div><div><br>--- En date de&nbsp;: <b>Mar 4.10.11, Dennis Shea <i>&lt;shea@ucar.edu&gt;</i></b> a écrit&nbsp;:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>De: Dennis Shea &lt;shea@ucar.edu&gt;<br>Objet: Re: [ncl-talk] making JJA without using month_to_season function<br>À: "Siraj ul Islam" &lt;sirajkhan78@gmail.com&gt;<br>Cc: ncl-talk@ucar.edu<br>Date: Mardi 4 octobre 2011, 21h48<br><br><div
 class="plainMail">&nbsp;&nbsp;&nbsp;yrStrt = 2000<br>&nbsp;&nbsp;&nbsp;yrLast = 2009<br>&nbsp;&nbsp;&nbsp;nyrs&nbsp;&nbsp;&nbsp;=&nbsp; yrLast-yrStrt+1<br><br>; Method 1<br><br>&nbsp;&nbsp;&nbsp;prect_jja&nbsp;&nbsp;&nbsp;= new ( nyrs, "float", "No_FillValue")<br><br>&nbsp;&nbsp;&nbsp;prect&nbsp; = f-&gt;PRECT<br><br><br><br>On 10/4/11 1:38 PM, Siraj ul Islam wrote:<br>&gt; Hi all,<br>&gt;<br>&gt; This may be a very easy question. I have a ten year monthly data file<br>&gt; and for each year there are only 5 months (May, June, July, August and<br>&gt; Sep.) data. In total my 10 year data has (10 x 5) 50 months. Now I want<br>&gt; to analyze JJA season each year. As all the built in functions<br>&gt; (*clmMonLLT*, month_to_season) in NCL need 12 months data file (time<br>&gt; dimension must be a multiple of 12) and therefore I cannot use them for<br>&gt; my data. Is there any other way to average out JJA each year or to<br>&gt; calculate climatology for
 each m</td></tr></table>