solarPosition {solarPos} | R Documentation |
Computes the solar zenith and azimuth for a place on Earth for a given date and time.
solarPosition(jd, lon, lat, delta_t = 32.184, elev = 0, temp = 16, pres = 1013.25)
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. |
Solar zenith and azimuth angle are give in degrees, azimuth is measured eastward from north.
Matrix of solar zenith and azimuth angles.
Jasper Van doninck
##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)