DayLength: Day Length

Description Usage Arguments Examples

Description

This function estimates day length (in hours) for a given day of year and latitude.

Usage

1
DayLength(DOY, Lat)

Arguments

DOY

Day of year

Lat

Latitude (in degrees)

Examples

1
2
3
4
5
6
7
8
9
#Calculating day length for 365 day of the year for 45 degree latitude

DOY <- 1:365

Lat = 45

dl <- DayLength(DOY, Lat)

plot(DOY, dl)

bnasr/calcSolar documentation built on May 17, 2019, 9:12 a.m.