dec_angle: Solar Declination in Radians

dec_angleR Documentation

Solar Declination in Radians

Description

The function calculates solar declination, which is the angular distance of the sun north or south of the earth’s equator, based on the day of year \insertCiteCampbell1998TrenchR.

Usage

dec_angle(doy)

Arguments

doy

numeric day of year (1-366). This can be obtained from standard date via day_of_year.

Value

numeric declination angle (radians).

References

\insertAllCited

See Also

Other utility functions: airpressure_from_elev(), azimuth_angle(), day_of_year(), daylength(), solar_noon(), temperature conversions, zenith_angle()

Examples

  dec_angle(doy = 112)
  dec_angle(doy = 360)


trenchproject/TrenchR documentation built on Oct. 10, 2023, 10:12 p.m.