tidemAstron: Astronomical Calculations for Tidem

View source: R/tides.R

tidemAstronR Documentation

Astronomical Calculations for Tidem

Description

Do some astronomical calculations for tidem(). This function is based directly on t_astron in the T_TIDE Matlab package (see Pawlowicz et al. 2002), which inherits from the Fortran code described by Foreman (1978).

Usage

tidemAstron(t)

Arguments

t

Either a time in POSIXct format (with "UTC" timezone, or else odd behaviours may result), or an integer. In the second case, it is converted to a time with numberAsPOSIXct(), using tz="UTC".

Value

A list containing items named astro and ader (see the T_TIDE documentation).

Author(s)

Dan Kelley translated this from the t_astron function of the T_TIDE Matlab package (see Pawlowicz et al. 2002).

References

  • Foreman, M. G. G., 1978. Manual for Tidal Currents Analysis and Prediction. Pacific Marine Science Report. British Columbia, Canada: Institute of Ocean Sciences, Patricia Bay.

  • Pawlowicz, Rich, Bob Beardsley, and Steve Lentz, 2002. Classical tidal harmonic analysis including error estimates in MATLAB using T_TIDE. Computers and Geosciences, 28, 929-937.

See Also

Other things related to tides: [[,tidem-method, [[<-,tidem-method, as.tidem(), plot,tidem-method, predict.tidem(), summary,tidem-method, tidalCurrent, tidedata, tidem-class, tidemVuf(), tidem, webtide()

Examples

tidemAstron(as.POSIXct("2008-01-22 18:50:24"))


oce documentation built on July 9, 2023, 5:18 p.m.