daylength: Calculates day length (in hours) and the solar elevation

View source: R/daylength.r

daylengthR Documentation

Calculates day length (in hours) and the solar elevation

Description

This routine uses Forsythe et al. 1995.

Usage

daylength(doy, latitude)

Arguments

doy

a vector with doy values 1 - 365(6)

latitude

a given latitude

Value

nested list with daylength (daylength) and solar elevation (solar_elev) elements

Examples


## Not run: 
# calcualte the hours of sunlight and solar elevation on day of year 1
# and latitude 51
ephem <- daylength(1, 51)
print(ephem)

## End(Not run)

bluegreen-labs/phenocamr documentation built on Feb. 6, 2024, 10:42 p.m.