Close Classical tidal harmonic analysis including error estimates in MATLAB using T$_$TIDE,
Pawlowicz, R., B. Beardsley, S. Lentz (2002),
Computers [ampersand] Geosciences, 28, 8 p. 929–937