Documentation ¶
Overview ¶
Package tides provides an embeddable mechanism for providing tidal constituents for given gauge sites that can be used for tide predication.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Constituent ¶
Constitutent stores the calculated amplotude and lag for a named tidal phase, the amplitude and lag are given in units of meters and degrees respectively.
func (Constituent) String ¶
func (c Constituent) String() string
String provides a standard representation of the tidal constituent.
type Tide ¶
type Tide struct { Code string Network string Number string TimeZone float64 Latitude float64 Longitude float64 Crex string Constituents []Constituent }
Tide provides the general parameters needed to predict tides at a given site and the associated tidal consitituents. The TimeZone, Latitude, and Longitude are expected to be the parameters used to generated the tidal prediction constituents and may differ from the geographic values recorded elsewhere.