SunPosition: Get Solar Elevation and Azimuth

Description Usage Arguments References

View source: R/function_routines.R

Description

(Model) Get solar elevation and azimuth for a specified date and location. The implementation follows the Astronomer's Almanac algorithm.

Usage

1
SunPosition(year, month, day, hour = 12, min = 0, sec = 0, lat, long)

Arguments

year

TODO

month

TODO

day

TODO

hour

TODO

min

TODO

sec

TODO

lat

TODO

long

TODO

References

Joseph J. Michalsky. The astronomical almanacs algorithm for approximate solar position (19502050). Solar Energy, 40(3):227235, 1988. It's straightforward to translate it in any other language: http://stackoverflow.com/questions/257717/position-of-the-sun-given-time-of-day-and-lat-long

http://www.esrl.noaa.gov/gmd/grad/solcalc/ Checked against NOAA on-line calculator


stevencarlislewalker/thermopic documentation built on March 10, 2020, 8:31 p.m.