sol_angles.Rd
Calculates solar azimuth and solar elevation angle.
sol_angles(...) # S3 method for POSIXt sol_angles(datetime, lat, lon, ...) # S3 method for weather_station sol_angles(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. |
data.frame with two columns: sol_azimuth and sol_elevation.