Calculate 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
1 2 3 4 5 6 7 8 9 10 | 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 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.