There are tide stations that monitor and measure the tides. They use advanced electronics to measure them.