[ncl-talk] bw_bandpass_filter returns extremely large values
Dennis Shea
shea at ucar.edu
Mon Mar 18 08:45:40 MDT 2019
Yes. The missing value (_FillValue) *is* the problem.
The documentation explicitly states:
*x*
An array of time series to be filtered.
*Missing values are not allowed. *
*---*
On Mon, Mar 18, 2019 at 2:00 AM Gaeun Kim <gaeun.kim0921 at gmail.com> wrote:
> Dear NCL users
>
> I'm trying to apply bandpass filter to daily AO index from CPC and
> temperature anomalies data.
> The filtered temperature anomalies look okay,
> but I get extremely large values from the filtered AO index like min =
> -1.11408e+36, max =1.4402e+36
>
> Any help will be appreciated.
>
> ps. ao data includes one missing value. Could this be a problem?
>
>
>
> Variable: ao
> Type: float
> Total Size: 52596 bytes
> 13149 values
> Dimensions and sizes: [13149]
> Coordinates:
> Number of Attributes: 1
> _FillValue : 9.96921e+36
>
> Variable: t_ano
> Type: float
> Total Size: 52596 bytes
> 13149 values
> Dimensions and sizes: [13149] x [1] x[1]
> Coordinates:
> Number of Attributes: 2
> _FillValue : 9.96921e+36
> long_name : Anomalies from Daily Climatology
>
> ca = 60
> cb = 30
>
> fca = 1.0/ca
> fcb = 1.0/cb
> dims = 0
> opt = False
>
> ao_bf = bw_bandpass_filter(ao,fca,fcb,opt,dims)
> t_bf = bw_bandpass_filter(t_ano,fca,fcb,opt,dims)
>
>
>
>
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20190318/62ff57d0/attachment.html>
More information about the ncl-talk
mailing list