Description Usage Arguments Value Examples
Compute the solar hour angle which is defined as the time difference from noon times 15 degrees per hour (i.e., negative during the morning and positive during the afternoon).
1 2 3 4 5 6 7 8 9 | ## S4 method for signature 'POSIXt'
solarHourAngle(x, unit = c("radians", "degrees"))
## S4 method for signature 'character'
solarHourAngle(x, unit = c("radians", "degrees"), ...)
## S4 method for signature 'Raster'
solarHourAngle(x, origin = strptime("1993-01-01",
"%Y-%m-%d"), unit = c("radians", "degrees"), ...)
|
x |
A date-time object of class |
unit |
|
... |
If |
origin |
A |
numeric
solar hour angle(s), or if x
is a Raster*
object, a Raster*
object with pixel-wise solar hour angles.
1 2 | ## current solar hour angle
solarHourAngle(Sys.time(), unit = "degrees")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.