solarPosition {solarPos} | R Documentation |
Solar zenith and azumith angles
Description
Computes the solar zenith and azimuth for a place on Earth for a given date and time.
Usage
solarPosition(jd, lon, lat, delta_t = 32.184, elev = 0, temp = 16, pres = 1013.25)
Arguments
jd |
Julian day, with decimal fraction. |
lon |
Longitude, in decimal degrees. |
lat |
Latitude, in decimal degrees. |
delta_t |
Difference between the Earth rotation time and the Terestrial Time (TT), in seconds. |
elev |
Elevation, in meters. |
temp |
Temperature, in degrees Celsius. |
pres |
Pressure, in hPa. |
Details
Solar zenith and azimuth angle are give in degrees, azimuth is measured eastward from north.
Value
Matrix of solar zenith and azimuth angles.
Author(s)
Jasper Van doninck
Examples
##Julian day
jd <- julianDay(2003,10,17,12,30,30,tz=-7)
##Solar angles
solarPosition(jd,-105.1786,39.742476,delta_t=67,elev=1830.14,temp=11,pres=820)
[Package solarPos version 1.0 Index]