solar_noon: Time of Solar Noon

solar_noonR Documentation

Time of Solar Noon

Description

The function calculates the time of solar noon in hours as a function of the day of year and longitude \insertCiteCampbell1998TrenchR.

Usage

solar_noon(lon, doy, offset = NA)

Arguments

lon

numeric longitude (decimal degrees).

doy

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

offset

numeric number of hours to add to UTC (Coordinated Universal Time) to get local time (improves accuracy but not always necessary). Defaults to NA.

Value

numeric time of solar noon (hours).

References

\insertAllCited

See Also

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

Examples

  solar_noon(lon = -122.335,
             doy = 112)


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