Learn R Programming

oce (version 1.8-3)

tidemAstron: 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)

Value

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

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".

Author

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, tidem-class, tidemVuf(), webtide()

Examples

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

Run the code above in your browser using DataLab