solar {tripEstimation} | R Documentation |
Pre-calculates astronomical solar position components for Earth-location sampling functions.
solar(day)
day |
vector of date-time values |
A list of the following values for each input time:
solarTime |
solar time |
sinSolarDec |
sine solar declination |
cosSolarDec |
cosine solar declination |
No account is made for horizon refraction, but this was available in the original (Javascript) code.
Michael D. Sumner
https://gml.noaa.gov/grad/solcalc/azel.html