Calculates the eccentricity.

sol_eccentricity(...)

# S3 method for POSIXt
sol_eccentricity(datetime, ...)

# S3 method for weather_station
sol_eccentricity(weather_station, ...)

Arguments

...

Additional parameters passed to later functions.

datetime

POSIXt object (POSIXct, POSIXlt). See base::as.POSIXlt and base::strptime for conversion.

weather_station

Object of class weather_station.

Value

Eccentricity at the date.