sol_elevation: Solar elevation angle

sol_elevationR Documentation

Solar elevation angle

Description

Calculates solar elevation angle for the given date and time.

Usage

sol_elevation(...)

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

## S3 method for class 'weather_station'
sol_elevation(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

Solar elevation angle in degrees.


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