solar function

Calculate solar postion parameters

Calculate solar postion parameters

Pre-calculates astronomical solar position components for Earth-location sampling functions.

solar(day)

Arguments

  • day: vector of date-time values

Returns

A list of the following values for each input time: - solarTime: solar time

  • sinSolarDec: sine solar declination

  • cosSolarDec: cosine solar declination

References

https://gml.noaa.gov/grad/solcalc/azel.html

Author(s)

Michael D. Sumner

Note

No account is made for horizon refraction, but this was available in the original (Javascript) code.

  • Maintainer: Michael D. Sumner
  • License: GPL-3
  • Last published: 2023-04-21