sun_position.RdCalculate the position of the sun according to date and geographical position in wgs84 Found here: http://stackoverflow.com/questions/8708048/position-of-the-sun-given-time-of-day-latitude-and-longitude
sun_position( year, month, day, hour = 12, min = 0, sec = 0, lat = 46.5, long = 6.5 )
| year | year |
|---|---|
| month | month |
| day | day |
| hour | hour |
| min | min |
| sec | sec |
| lat | lat |
| long | long |