Astronomy: Eclipse V0.1
Algorithms based on Jean Meeus
Calculate eclipses (solar eclipse and lunar eclipse).
Call eclipse, or DTm for JDE to date.
See aeclipseuse for example calls.
Known bugs V0.1: “adjustdays(True “ always calculates adjustment for lunar eclipse. Workaround: “adjustdays(koff” will calculate the correct adjustment. (For the Oct 2023 solar eclipse, the mistake is less than 2 minutes)
This source is at the limit for Numworks source size.
Known bugs v0.1 The adjust JDE time calculation always performs the lunar eclipse adjustment, so my JDE time for solar eclipses will be incorrect. Workaround: change adjustdays(True to adjustdays(False when a solar eclipse is to be calculated V0.2 has been released which fixes that.