<div dir="ltr">Dear ncl users,<div><br></div><div>I am trying to prove whether I have correctly filtered my dataset by plotting the power spectrum of the filtered data set.</div><div><br></div><div>My approach: </div><div>firstly I have plotted the spectrum of the unfiltered data set (<a href="http://rainfall_pc_00000.nc">rainfall_pc_00000.nc</a>) using attached script (plot_spectrum_unfiltered_data.ncl).</div><div><br></div><div>Secondly, I decided to filter my dataset at 20-60 days.</div><div><br></div><div>Thirdly; Using the Butterworth filtering technique, filtered the dataset (<a href="http://rainfall_pc_00000.nc">rainfall_pc_00000.nc</a>) at 20-60 days, and plot the spectrum of the filtered dataset.</div><div><br></div><div>Problem: After plotting the spectrum of the filtered dataset, I intended to see all peaks out of 60-20days bandpass to disappear however it came the opposite way.</div><div><br></div><div>I have attached scripts, plots, and datasets for easy follow-up. </div><div><br></div><div>Please help me know if my approach to proof whether I have correctly filtered the datasets is correctly and then where I am getting wrong and plot opposite results, contrary to the theory.</div><div><br></div><div>Thanks </div><div><br></div><div>Edwin</div><div><br></div><div><br></div><div> </div></div>