sol_elevation | R Documentation |
Calculates solar elevation angle for the given date and time.
sol_elevation(...) ## S3 method for class 'POSIXt' sol_elevation(datetime, lat, lon, ...) ## S3 method for class 'weather_station' sol_elevation(weather_station, ...)
... |
Additional parameters passed to later functions. |
datetime |
POSIXt object (POSIXct, POSIXlt). See base::as.POSIXlt and base::strptime for conversion. |
lat |
Latitude in decimal degrees. |
lon |
Longitude in decimal degrees. |
weather_station |
Object of class weather_station. |
Solar elevation angle in degrees.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.