<div dir="ltr">Hi Chang,<div><br></div><div>the function ezfftf should do that. </div><div><br></div><div><a href="https://www.ncl.ucar.edu/Document/Functions/Built-in/ezfftf.shtml">https://www.ncl.ucar.edu/Document/Functions/Built-in/ezfftf.shtml</a><br></div><div><br></div><div>It works for multidimensional arrays as well as one dimensional arrays, for more than one dimension you need to reorder so that the pressure levels are the right most dimension. So if x = (time,lev,lat,lon) you may need to transform y = x(time,lat,lon,lev).</div><div><br></div><div>As with all FFT applications you probably need to taper the values you are trying to transform so that the end points are zero and you are essentially transforming a periodic sequence.</div><div><br></div><div>Hope this helps,</div><div><br></div><div>Maria</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Feb 15, 2015 at 3:35 PM, Xi Chang <span dir="ltr">&lt;<a href="mailto:xi.chang01@gmail.com" target="_blank">xi.chang01@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hallo NCL,<div><br></div><div>is there any trick or function in ncl to decompose the data in pressure level to vertical wavenumber (m) based on FFT filter?</div><div><br></div><div>Thank you</div><span class="HOEnZb"><font color="#888888"><div>Chang</div></font></span></div>
<br>_______________________________________________<br>
ncl-talk mailing list<br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div>