Skip to contents

Package overview

photobiologySunCalc photobiologySunCalc-package
photobiologySunCalc: Sun and Atmosphere Calculations

Astronomy

Astronomical computations of interest in photobiology and meteorology.

solar_time()
Local solar time
as.solar_date()
Convert a solar_time object into solar_date object
is.solar_time() is.solar_date()
Query class
as_tod()
Convert datetime to time-of-day
format(<tod_time>)
Encode in a Common Format
print(<tod_time>)
Print time-of-day objects
tz_time_diff()
Time difference between two time zones
day_night() day_night_fast() is_daytime() noon_time() sunrise_time() sunset_time() day_length() night_length()
Times for sun positions
sun_angles() sun_angles_fast() sun_elevation() sun_zenith_angle() sun_azimuth() distance_to_sun()
Solar angles
format(<solar_time>)
Encode in a Common Format
print(<solar_time>) print(<solar_date>)
Print solar time and solar date objects
validate_geocode() is_valid_geocode() length_geocode() na_geocode()
Validate a geocode
irrad_extraterrestrial()
Extraterrestrial irradiance

Atmosphere

Computations related to water vapour in air, and on equivalent air mass at different solar elevations.