Skip to content

2.0.0

Compare
Choose a tag to compare
@jpb10 jpb10 released this 30 Mar 13:16
· 10 commits to main since this release

Notable changes

  • Unix time input is now supported as unsigned long.
  • Optimizations for code size and performance:
    • Neglect of all terms < 0.005 degree, including higher powers of time T (in Julian centuries), nutation, and ΔT.
    • Simplified expressions for the Julian day, atmospheric refraction correction, equation of time, and ΔT.
    • Simplified rising, transit, and setting algorithm.
  • New iterations parameter in calcSunriseSunset, which can be set to 0 to get the approximate times.
  • New example sketch for the rise and set times at a height above the horizon (using the altitude parameter).

Breaking changes

  • Sun's radius vector is now calculated with calcEquatorialCoordinates.
  • Some intermediate calculations have been removed, e.g. nutation.