Tidal Waters function

The function now properly delivers the data required and formats it
properly.