Description Usage Arguments Value Examples
Given the timestamp, location and time zone calculate the solar zenith angle for a observer. Requires package insol.
1 | calcSolarZenith(time_stamp, latitude, longitude, timezone = 0)
|
time_stamp |
A timestamp that can be parsed by POSIXct, such ISO8601. This must be UTC. |
latitude |
Latitude of observer in decimal degrees, west is negative. |
longitude |
Latitude of observer in decimal degrees, south is negative. |
timezone |
Timezone of timestamp, west is negative. |
The Solar Zenith Angle in degrees
1 2 3 4 5 6 | time_stamp = "2014-11-26 11:30:26"
latitude = 36.529688
longitude = -6.292657
calcSolarZenith(time_stamp, latitude, longitude, timezone=0)
compare to https://www.nrel.gov/midc/solpos/spa.html
retrieved 2016-07-16: 11/26/2014,11:30:00,58.339855
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.