Altitude: Solar Altitude Angle

Description Usage Arguments Examples

Description

This function solar altitude angle (in degrees) for a given day of year and location.

Usage

1
Altitude(DOY, Lat, Lon, SLon, DS)

Arguments

DOY

Day of year

Lat

Latitude in degrees

Lon

Longitude in degrees

SLon

Standard longitude (based on time zone) in degrees

DS

Daylight saving in minutes

Examples

1
2
3
4
5
6
7
8
#Calculating solar altitude angle for two consecutive days

DOY <- seq(0, 2, .05)

alpha <- Altitude(DOY, Lat = 45, Lon=0, SLon=0, DS=60)
#Note: only the difference between Lon and SLon matters not each value

plot(DOY, alpha)

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