tssr: Calculate time since sunrise.

tssrR Documentation

Calculate time since sunrise.

Description

Looks up sunrise for a given latitude, longditude, and date, and then converts 24-hr time to time since sunrise in minutes.

Usage

tssr(lat,long,dateTime)

Arguments

lat

latitude as decimal degrees with negative values representing southern locations.

long

longitude as decimal degrees with negative values representing western locations.

dateTime

date and time as a character e.g., '2009-04-29 06:30:00'.

Value

A value or vector matching the dimensions of dateTime representing the number of minutes from sunrise.

Author(s)

Adam Green, Quresh Latif


qureshlatif/QSLpersonal documentation built on Sept. 12, 2023, 6:24 p.m.