Re: function in NCL for 10-day high pass filter

From: Dennis Shea (shea AT cgd.ucar.edu)
Date: Thu Oct 27 2005 - 13:37:26 MDT


>
>On Thu, 27 Oct 2005, Xuguang Wang wrote:
>
>> I wonder whether there is a function/procedure in NCL that functions as a
>> 10-day high pass filter?
>
> Check out the NCL home page, specifically:
>
>http://www.ncl.ucar.edu/Document/Functions/Built-in/filwgts_lancos.shtml
>..................
>

As Saji indicates the above can be used to develop
the weigts of the desired filter. This depends on how the
data are sampled.

Example 3 of

http://www.ncl.ucar.edu/Document/Functions/Built-in/wgt_runave.shtml

shows how you might use the weights returned bu filwgts_lancos

Basically,

            wts = filwgts_lancos (...)
            yhigh = wgt_runave(y, wts, opt)

good luck

_______________________________________________
ncl-talk mailing list
ncl-talk@ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk



This archive was generated by hypermail 2b29 : Thu Oct 27 2005 - 18:24:21 MDT