Sunrise: Sunrise Time

Description Usage Arguments Examples

View source: R/Sunrise.R

Description

This function estimates sunrise time (in continuous hour values) for a given day of year and latitude.

Usage

1
Sunrise(DOY, Lat)

Arguments

DOY

Day of year

Lat

Latitude (in degrees)

Examples

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

DOY <- 1:365

Lat = 45

sunrise <- Sunset(DOY, Lat)

plot(DOY, sunrise)

bnasr/solrad documentation built on May 20, 2019, 3:05 p.m.