DayLength {solrad}R Documentation

Day Length

Description

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

Usage

DayLength(DOY, Lat)

Arguments

DOY

Day of year

Lat

Latitude (in degrees)

Examples


#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)


[Package solrad version 1.0.0 Index]