Azimuth: Solar Azimuth Angle

Description Usage Arguments Examples

View source: R/Azimuth.R

Description

This function returns solar azimuth angle (in degrees) for a given day of year and location. The solar azimuth angle is the angle of sun's ray measured in the horizental plane from due south

Usage

1
Azimuth(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 azimuth angle for two consecutive days on 45 degree lat and 10 degree lon

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

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

plot(DOY, Az)

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