<div dir="ltr"><div>Hi Dennis:</div><div><br></div><div>Thanks for your help!</div><div><br></div><div><em>In </em>filwgts_lanczos a parameter, <em>fca</em> should be given. That is a scalar indicating the cut-off frequency of the ideal high or low-pass filter: (0.0 < <em>fca</em> < 0.5). In a 1-D spatial data, I want to filter out small scale or wavelength waves. For my case, I think that fca should be wavelength or wave numbers, instead of frequency. Suppose I have 300 data with regular 100 m spatial interval. I would to remove wavelength smaller than 500 m. How to set fca to do the filtering? Thanks!</div><div><br></div><div>Regards</div><div>Ed</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Oct 28, 2015 at 10:20 AM, Dennis Shea <span dir="ltr"><<a href="mailto:shea@ucar.edu" target="_blank">shea@ucar.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">A filter has no idea whether the data is temporal or spatial. Most<br>
filters do assume constant spacing. If your spatial data is<br>
irregularly spaced, you will likely have to interpolate to equal<br>
spacing.<br>
<div><div class="h5"><br>
On Tue, Oct 27, 2015 at 2:51 PM, yang yang <<a href="mailto:yang.yang816@gmail.com">yang.yang816@gmail.com</a>> wrote:<br>
> Dear Sir/Madam:<br>
><br>
> In NCL, examples of Filters using filwgts_lanczos are only in temporal<br>
> domain. Now I want to do low-pass for my 1-D spatial data such as dropsonde<br>
> data or flight-track data. Does NCL have a similar function as<br>
> filwgts_lanczos to do the work for 1-D spatial data? or How to apply<br>
> filwgts_lanczos in a 1-D spatial data? Thanks!<br>
><br>
> Regards<br>
> Ed<br>
><br>
</div></div>> _______________________________________________<br>
> ncl-talk mailing list<br>
> <a href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a><br>
> List instructions, subscriber options, unsubscribe:<br>
> <a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" target="_blank" rel="noreferrer">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>
><br>
</blockquote></div><br></div>