Description Usage Arguments Details Value
Calculate the position of the sun. REddyProc name: fCalcSunPosition.
1 | calc_sun_pos(doy, hour, lat, long, tz, solar_time = TRUE)
|
doy |
A vector with day of year, same length as hour or length 1. |
hour |
A vector with time as decimal hour of local time zone. |
lat |
Latitude in (decimal) degrees. |
long |
Longitude in (decimal) degrees. |
tz |
Time zone (in hours). |
solar_time |
Should hour (given in local winter time) be corrected for
latitude to solar time where noon is exactly at 12:00 (default)? Set to
|
Assumes that hour is given in local winter time zone, and corrects it by
longitude to solar time (where noon is exactly at 12:00). Set argument
solar_time
to FALSE to use the local winter time instead.
A list with vectors:
sol_time Solar time in hours
sol_decl Solar declination in radians
sol_elev Solar elevation in radians with 0 at horizon
sol_azim Solar azimuth in radians with 0 at North
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.