 the python package <a href="https://github.com/wesleybowman/UTide" class="external-link">Utide</a> <em>can</em> do
this analysis, and thanks to the <code>reticulate</code> package in R it
is easy to run both R and python code simultaneously, while passing
variables back-and-forth between the two systems.</p>
<div class="section level3">
<h3 id="setting-up-a-python-environment-to-do-tidal-analysis">Setting up a python environment to do tidal analysis<a class="anchor" aria-label="anchor" href="#setting-up-a-