shred/commons-suncalc

Anyway to calculate the Tide for a location?

Closed this issue · 1 comments

Hi
Can this library predict the Tide for a location.
Binu

shred commented

Hi Binu!

It's true that the tide depends on the position of the sun and the moon, so it would be obvious to calculate it with suncalc.

But the tide at a location also depends on sea currents and geological conditions. This library could only give a very rough estimate. At best it might be entertaining, but would have no practical use. At worst, it would be life-threatening if someone relied on the results. For this reason, I deliberately decided NOT to add tide calculation.

There are sophisticated tools for that purpose, for example JTides.