sol_azimuth.RdCalculates solar azimuth angle for the given date and time.
sol_azimuth(...) # S3 method for POSIXt sol_azimuth(datetime, lat, lon, ...) # S3 method for weather_station sol_azimuth(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 azimuth angle in degrees.