twilightSolartime: Solar Time of Sunrise and Sunset

View source: R/SGAT.R

twilightSolartimeR Documentation

Solar Time of Sunrise and Sunset

Description

Estimate time of sunrise or sunset for a given location given the approximate solar time of twilight

Usage

twilightSolartime(solar, lon, lat, rise, zenith = 96)

Arguments

solar

output of solar for approximate times of twilight.

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.

Details

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.

Value

a vector of twilight times in solar time (degrees)

See Also

twilight


SWotherspoon/SGAT documentation built on June 1, 2022, 10:49 p.m.