Skip to contents

get_tide_height() is a wrapper to rtide::tide_height() that works with a date time vector and also checks the station against tide_station_info.

Usage

get_tide_height(dt, station)

Arguments

dt

Series of date-time values as POSIXct. The timezone must be properly set.

station

A station name or station ID as it appears in tide_station_info.

Value

A series of tide heights corresponding to the date-times in dt Heights are in meters and, I think, are relative to MLLW (Mean Lower Low Water). Although, I could only find this stated about individual stations and not for all stations in general.

See for example the datum information for PENIKESE ISLAND MA, which states "NOTICE: All data values are relative to the MLLW.".