[ncl-talk] taper_n function problem

Mike Victor mayuresh0987 at gmail.com
Thu Sep 10 03:14:58 MDT 2020


Dear sir/madam
I have a time series of dimensions [ *time*|14975 ] x [ *lon*|144 ] x [
*lat*|73 ]. Which I need to put into the *wk_spacetime* function. Before
that I want to taper the ends of the series to 0 using the *taper_n*
function. But the result of doing that is that the whole series is set to
zero except the ends.
I am putting the code and the result below :
Pls help.
Regards.

f = addfile("kg_olr.nc","r")
olr = f->olr
x = olr(:,1,1)
x_t = taper_n(x,0.05,1,0) ; where x is the time series at a particular lat
and lon values
wks = gsn_open_wks("x11","expplot")
plot = gsn_csm_y(wks,x_t,False)

[image: Capture.JPG]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.ucar.edu/pipermail/ncl-talk/attachments/20200910/dcc1bcb8/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Capture.JPG
Type: image/jpeg
Size: 28133 bytes
Desc: not available
URL: <https://mailman.ucar.edu/pipermail/ncl-talk/attachments/20200910/dcc1bcb8/attachment.jpe>


More information about the ncl-talk mailing list