ttide py
A direct conversion of T_Tide to Python.
Credit for T_Tide goes to Rich Pawlowicz, the original creator of T_Tide. It is available at http://www2.ocgy.ubc.ca/~rich/.
A description of the theoretical basis of the analysis and some implementation details of the Matlab version can be found in:
Pawlowicz, R., B. Beardsley, and S. Lentz, "Classical Tidal "Harmonic Analysis Including Error Estimates in MATLAB using T_TIDE", Computers and Geosciences, 28, 929-937 (2002).
https://github.com/moflaher/ttide_py
Examples:
t_tide for python
https://ocefpaf.github.io/python4oceanographers/blog/2015/01/19/ttide_py/