azimuth_angle {TrenchR} | R Documentation |
Azimuth Angle
Description
The function calculates the azimuth angle, the angle (degrees) from which the sunlight is coming measured from true north or south measured in the horizontal plane. The azimuth angle is measured with respect to due south, increasing in the counter clockwise direction so 90 degrees is east (Campbell and Norman 1998).
Usage
azimuth_angle(doy, lat, lon, hour, offset = NA)
Arguments
doy |
|
lat |
|
lon |
|
hour |
|
offset |
|
Value
numeric
azimuth angle (degrees).
References
Campbell GS, Norman JM (1998). Introduction to environmental biophysics, 2nd ed. edition. Springer, New York. ISBN 0387949372.
See Also
Other utility functions:
airpressure_from_elev()
,
day_of_year()
,
daylength()
,
dec_angle()
,
solar_noon()
,
temperature conversions
,
zenith_angle()
Examples
azimuth_angle(doy = 112,
lat = 47.61,
lon = -122.33,
hour = 12,
offset = -8)