tide_predictions
Return high and low tide predictions (times and heights) from the keyless NOAA Tides & Currents (CO-OPS) public API - U.S. Government public-domain data. Give either a NOAA station id (e.g. '9414290' for San Francisco) or a lat/lon (the nearest tide-prediction station is chosen automatically). Returns each high and low tide over the requested inclusive date range, in local station time, relative to the chosen tidal datum (default MLLW). Use it for tide tables, beach and boating planning, or coastal scheduling.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat | No | Latitude in decimal degrees. Used with lon to pick the nearest station when no station id is given. | |
| lon | No | Longitude in decimal degrees (negative west). | |
| datum | No | Tidal datum: MLLW, MSL, MHW, etc. Default MLLW. | |
| units | No | 'english' (feet) or 'metric' (meters). Default english. | |
| station | No | NOAA CO-OPS station id, e.g. '9414290'. Optional if lat and lon are given. | |
| end_date | No | End date (inclusive), 'YYYY-MM-DD'. Defaults to begin_date + 1 day. | |
| begin_date | No | Start date (inclusive), 'YYYY-MM-DD'. Defaults to today. |