  An efficient algorithm of tidal harmonic analysis and prediction is presented
in this paper. Some conditions are found by means of the known approximate
relationships between the harmonic constants of the tidal constituents. A
system of linear equations for least squares solutions under these restricted
conditions is obtained. In the case of inadequate data, ill conditioning in the
system of equations that has appeared in other algorithms is conveniently
avoided. In solving the resultant normal equations, the Goertzel iteration is
adopted so that the whole computation time is dramatically reduced.

Fluid Dynamics;Atmospheric and Oceanic Physics