Hi AF,
As a function doesn't exist to extract the seasonal cycle out of a 2-D
array, you can code it yourself:
arr_sc = arr(:11,:) ; set up array to store seasonal cycle. arr is
dimensioned time x lon. time starts in January
arr_sc = arr_sc@_FillValue ; just in case, set arr_sc to _FillValue
do gg = 0,11
arr_sc(gg,:) = (/ dim_avg_n(arr(gg::12,:),0) /) ; for gg = 0,
grab all January's, and average.
end do
delete(arr)
dim_avg_n documentation:
http://www.ncl.ucar.edu/Document/Functions/Built-in/dim_avg_n.shtml
If you are not familiar with the subscripting used in the coding above,
see the NCL reference manual here:
http://www.ncl.ucar.edu/Document/Manuals/Ref_Manual/NclVariables.shtml#StandardSubscripts
Hope that helps. If not, please respond to ncl-talk.
Adam
On 06/11/2013 06:46 AM, Ahmad Farsyud wrote:
> Hallo everyone,
>
> A simple question, I have monthly meridional wind data, I want to
> extract the
> seasonal cycle out from my data. Anybody knows how to do that?
>
> regards,
> --AF
>
>
> _______________________________________________
> 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 Tue Jun 11 09:49:30 2013
This archive was generated by hypermail 2.1.8 : Tue Jun 11 2013 - 12:03:58 MDT