dayintegral: Time sun is above horizon for a day and latitude.

Description Usage Arguments Value Author(s) See Also Examples

View source: R/fire_index_functions.r

Description

A coarse but quick function to calculate the number of hours (down to approximately 2-minute resolution) that the sun is above the horizon for a given day of the year, and latitude.

Usage

1
dayintegral(dayofyear, latitude)

Arguments

dayofyear

Day of year (Julian day).

latitude

Latitude, southern latitudes take negative values

Value

The number of hours, as a floating point value, the sun was above the horizon.

Author(s)

Grant Williamson

See Also

daylengths,hourwatt,sunaltitude

Examples

1
2
3
latitude = -42
doy = 23
dayintegral(doy,latitude)

ozjimbob/ecbtools documentation built on Jan. 18, 2021, 7:39 p.m.