powered by
Convert a POSIXt time to a sidereal time, using the method in Chapter 7 of reference 1. The small correction that he discusses after his equation 7.1 is not applied here.
siderealTime(t)
a time, in POSIXt format, e.g. as created by as.POSIXct(), as.POSIXlt(), or numberAsPOSIXct(). If this is provided, the other arguments are ignored.
as.POSIXct()
as.POSIXlt()
numberAsPOSIXct()
A sidereal time, in hours in the range from 0 to 24.
Meeus, Jean. Astronomical Formulas for Calculators. Second Edition. Richmond, Virginia, USA: Willmann-Bell, 1982.
Other things related to astronomy: angle2hms(), eclipticalToEquatorial(), equatorialToLocalHorizontal(), julianCenturyAnomaly(), julianDay(), moonAngle(), sunAngle(), sunDeclinationRightAscension()
angle2hms()
eclipticalToEquatorial()
equatorialToLocalHorizontal()
julianCenturyAnomaly()
julianDay()
moonAngle()
sunAngle()
sunDeclinationRightAscension()
# NOT RUN { t <- ISOdatetime(1978, 11, 13, 0, 0, 0, tz="UTC") print(siderealTime(t)) # }
Run the code above in your browser using DataLab