Hi Yang,
You can use runave_n_Wrap:
http://www.ncl.ucar.edu/Document/Functions/Contributed/runave_n_Wrap.shtml
; arr = 3D array w/dimensions ordered/named time | lat | lon
opt = 0
temp = runave_n_Wrap(arr,6,opt,0)
arr_sondjf = temp(10::12,:,:) ; select SONDJF
delete([/arr,temp/])
You will want to investigate which end-point option to set in
runave_n_Wrap; in the example above I set opt=0.
Also note that the syntax 10::12 refers to selecting the 10th index
value, which after applying the running average = the SONDJF value, and
then incrementing every 12 index values to select the other SONDJF
indices. (See the end-point option documentation on the website above
for examples of which indices the running averages are placed in.)
Hope that helps. If not, please reply to ncl-talk.
Adam
On 09/21/2012 03:30 AM, Li Yang wrote:
> Hi,
>
> I am trying to select a broad seasonal mean from September to the
> following February[SOND(0)JF(1)]in the SST monthly data.
>
> What should I do?
> Thanks for any suggestions or info anyone might have!
>
> Best regards
> Yang
>
>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
-- ______________________________________________________________ Adam Phillips asphilli@ucar.edu NCAR/Climate and Global Dynamics Division (303) 497-1726 P.O. Box 3000 Boulder, CO 80307-3000 http://www.cgd.ucar.edu/cas/asphilli
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Fri Sep 21 09:36:15 2012
This archive was generated by hypermail 2.1.8 : Fri Sep 21 2012 - 16:22:29 MDT