sol_angles: Solar azimuth and elevation angles

View source: R/solar.R

sol_anglesR Documentation

Solar azimuth and elevation angles

Description

Calculates solar azimuth and solar elevation angle.

Usage

sol_angles(...)

## S3 method for class 'POSIXt'
sol_angles(datetime, lat, lon, ...)

## S3 method for class 'weather_station'
sol_angles(weather_station, ...)

Arguments

...

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.

Value

data.frame with two columns: sol_azimuth and sol_elevation.


jonasViehweger/energyBudget documentation built on June 27, 2022, 2:56 a.m.