Description Usage Arguments Note References See Also Examples
Compute the solar hour angle and the time difference from noon associated therewith from the sun zenith angle.
1 2 3 4 5 6 7 8 | ## S4 method for signature 'numeric'
fromSolarZenith(theta, phi, n, formula = c("Cooper",
"Spencer"))
## S4 method for signature 'Raster'
fromSolarZenith(theta, phi, n, formula = c("Cooper",
"Spencer"), daytime = c("AM", "PM"), origin = strptime("1993-01-01",
"%Y-%m-%d"), ...)
|
theta |
|
phi |
|
n |
|
formula |
|
daytime |
|
origin |
A |
... |
If |
Negative and positive solar hour angles indicate solar zenith angles during
the morning and afternoon, respectively. Note that the sun zenith angle can
easily be derived from the elevation angle through
sun zenith = 1 - elevation
.
PVEducation (2016) Elevation angle. Available online at http://www.pveducation.org/pvcdrom/properties-of-sunlight/elevation-angle.
1 2 3 4 5 | theta <- 30 # 30 deg zenith angle
delta <- declination(Sys.Date(), "Spencer", "degrees") # angular declination
phi <- 0 # geographic latitude, i.e. equator
fromSolarZenith(theta, delta, phi)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.