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)

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

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,