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