Fourier analysis and modeling of tidal data