Calculate solar postion parameters

Description

Pre-calculates astronomical solar position components for Earth-location sampling functions.

Usage

1
solar(day)

Arguments

day

vector of date-time values

Value

A list of the following values for each input time:

solarTime

solar time

sinSolarDec

sine solar declination

cosSolarDec

cosine solar declination

Note

No account is made for horizon refraction, but this was available in the original (Javascript) code.

Author(s)

Michael D. Sumner

References

http://www.srrb.noaa.gov/highlights/sunrise/azel.html