The function calculates the time of solar noon in hours as a function of the day of year and longitude (Campbell and Norman 1998) .
solar_noon(lon, doy, offset = NA)numeric longitude (decimal degrees).
numeric day of year (1-366). This can be obtained from a standard date via day_of_year.
numeric number of hours to add to UTC (Coordinated Universal Time) to get local time (improves accuracy but not always necessary). Defaults to NA.
numeric time of solar noon (hours).
Campbell GS, Norman JM (1998). Introduction to environmental biophysics, 2nd ed. edition. Springer, New York. ISBN 0387949372.
Other utility functions:
airpressure_from_elev(),
azimuth_angle(),
day_of_year(),
daylength(),
dec_angle(),
temperature conversions,
zenith_angle()
solar_noon(lon = -122.335,
doy = 112)
#> [1] 12.13232