Description Usage Arguments References
View source: R/function_routines.R
(Model) Get solar elevation and azimuth for a specified date and location. The implementation follows the Astronomer's Almanac algorithm.
| 1 | SunPosition(year, month, day, hour = 12, min = 0, sec = 0, lat, long)
 | 
| year | TODO | 
| month | TODO | 
| day | TODO | 
| hour | TODO | 
| min | TODO | 
| sec | TODO | 
| lat | TODO | 
| long | TODO | 
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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.