Testing of a method for spectral analysis of long wave data