R/functionLibrary.R
sunRiseSet.Rd
The time for sunrise and sunset from 90 degree in am and pm. +ve above the horizon, -ve below the horizon.
sunRiseSet(doy, lat, long, timezone = 0, angle = 6, flag = "rise")
day of year number
latitude of site (deg)
longitude of site (deg)
local time
angle to measure time between, such as twilight (deg). angular distance between 90 deg and end of twilight - altitude of sun. +ve up, -ve down.
rise or set