3.</span><span class="o">*</span><span class="mf">86400.</span><span class="p">)</span>  <span class="c1"># one cycle per 3 days</span>
    <span class="c1"># Add a subtide that is very small compared to the tidal amplitude</span>
    <span class="n">tide</span> <span class="o">+=</span> <span class="n">subtide_scale</span><span class="o">*</span><span class="n">FLOW_SCALE</span><span class="o">*</span><span class="n">np</span><span class="o">.</span><span class="n">cos</span><span class="p">(</span><span c