powered by
computes sunrise & sunset for day of year and location
photoperiod(dayofyear, latitude, longitude, zone = 0, twilight = "civil")
vector of sunrises
vector of sunsets
day of ywar 1-366
e.g. 42.00
e.g. 9.00
time zone e.g 1 (Vienna)
"rise/set", "civil" or "nautic"
http://lexikon.astronomie.info/zeitgleichung/
photoperiod (180, 42,9, zone=1, twilight="civil")
Run the code above in your browser using DataLab