twilightResiduals: Twilight Residuals

View source: R/SGAT.R

twilightResidualsR Documentation

Twilight Residuals

Description

Twilight residuals for known locations

Usage

twilightResiduals(twilight, rise, p, zenith = 96)

Arguments

twilight

the observed times of twilight as POSIXct.

rise

logical vector indicating which twilights are sunrise.

p

a two column matrix of (lon,lat) locations

zenith

the solar zenith angle that defines twilight.

Details

Given known locations p, this function calculates the difference between the predicted and observed twilights for those locations, where the sign is chosen so that obscuration of the sensor leads to a positive residual.

Value

a vector twilight residuals (in minutes).


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