twilightSolartime | R Documentation |
Estimate time of sunrise or sunset for a given location given the approximate solar time of twilight
twilightSolartime(solar, lon, lat, rise, zenith = 96)
solar |
output of |
lon |
vector of longitudes. |
lat |
vector of latitudes. |
rise |
logical vector indicating whether to compute rise or set. |
zenith |
the solar zenith angle that defines twilight. |
Solar declination and equation of time vary slowly over the day, and so the values of the Solar declination and equation of time at sunrise/sunset can be caclulated approximately if an approximate time of sunrise/sunset is known. The sun's hour angle and hence sunrise/sunset for the required zenith can then be calculated from these approximations.
Note this function returns the time of twilight in solar time.
a vector of twilight times in solar time (degrees)
twilight
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.