<div dir="ltr">It should really do that, only the first year average for DJF is JF and only the last year NDJ is ND. It doesn&#39;t really make sense to talk about seasonal averages when you only use 2 month averages for one of the season options. And it&#39;s not necessary to only use 2 months for DJF in the middle of the data where you have DJFs in a row. The reason the documentation mentions the 2 month averages for the first DJF and last NDJ average is so that people know those values are only based on 2 months and not 3 like the rest of the DJF and NDJ values. <div><br></div><div>You can easily test the DJF averages by computing the averages for a few years yourself and comparing that to the result from month_to_season. <div><br></div><div>Maria</div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Feb 19, 2015 at 9:18 AM, Daniel Barandiaran <span dir="ltr">&lt;<a href="mailto:dbarandiaran@gmail.com" target="_blank">dbarandiaran@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"><p dir="ltr">does it really do that? my reading of the documentation suggests that DJF is just JF for all years, and similarly NDJ is just ND.</p><div class="HOEnZb"><div class="h5">
<div class="gmail_quote">On Feb 19, 2015 8:30 AM, &quot;Maria Gehne - NOAA Affiliate&quot; &lt;<a href="mailto:maria.gehne@noaa.gov" target="_blank">maria.gehne@noaa.gov</a>&gt; wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Erik,<div><br></div><div>month_to_season gives you as many seasons as you have full years in your data. So if your data has 13 years then you will end up with 13 values for DJF with the first one only being computed for JF in the first year. The last december value will be ignored, because that would be the 14th season.</div><div><br></div><div>Does that help?</div><div><br></div><div>Maria</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Feb 19, 2015 at 12:56 AM, Erik Jan Schaffernicht <span dir="ltr">&lt;<a href="mailto:eschaffe@uni-koeln.de" target="_blank">eschaffe@uni-koeln.de</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I am not sure how month_to_season() function works for   DJF   (and NDJ is probably similar).<br>
<br>
Say, I select &quot;DJF&quot;<br>
<br>
I take the years like this:<br>
[snip]<br>
iYYYY=  ind(YYYY.ge.1979 .and. YYYY.le.2003)<br>
slp= ifle-&gt;slp(iYYYY,:,:)   + ...   (further steps, input from ncep slp <a href="http://data.nc" target="_blank">data.nc</a>, and I flip some dimension to make it fitting to formal requirements)<br>
slpSeason=  month_to_season(slp, &quot;DJF&quot;)<br>
[snip]<br>
<br>
What does the month_to_season() exactly do?<br>
<br>
My understanding of &#39;what belongs to a season&#39; written down looks like this, if I group it by DJFseason:<br>
<br>
1979-Jan and 1979-Feb<br>
1979-Dec and 1980-Jan and 1980-Feb<br>
...<br>
2002-Dec and 2003-Jan and 2003-Feb<br>
2003-Dec<br>
<br>
How does  month_to_season() process this?<br>
It says that DJF takes only  two months?   Does it mean only two for the first entry of this list, i.e. 1979-Jan 1979-Feb     but thereafter it takes always three, so 1979-Dec + 1980-Jan+1980-Feb, so three months in general except for one exception at the beginning?<br>
Or is it always<br>
1979-Jan-Feb<br>
1980-Jan-Feb<br>
1981-Jan-Feb,   so December is skipped completely?  Then the &quot;*D*JF&quot; is confusing!?<br>
<br>
And what happens to the &#39;lonely&#39;  2003-Dec? It has no neighbouring DJFmonths due to time range selection by years AD.  Is it skipped? Or is it: &quot;take this month and define it as a season&quot;?<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>_______________________________________________<br>
ncl-talk mailing list<br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div>
<br>_______________________________________________<br>
ncl-talk mailing list<br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>
<br></blockquote></div>
</div></div></blockquote></div><br></div>