aeclipse0_1.py

Created by steveg1cmz

Created on October 10, 2023

8.12 KB

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.


During your visit to our site, NumWorks needs to install "cookies" or use other technologies to collect data about you in order to:

With the exception of Cookies essential to the operation of the site, NumWorks leaves you the choice: you can accept Cookies for audience measurement by clicking on the "Accept and continue" button, or refuse these Cookies by clicking on the "Continue without accepting" button or by continuing your browsing. You can update your choice at any time by clicking on the link "Manage my cookies" at the bottom of the page. For more information, please consult our cookies policy.