aeclipse0_2.py

Created by steveg1cmz

Created on October 15, 2023

8.29 KB

Astronomy: Eclipse V0.2

Algorithms based on Meeus. See aeclipse.py for general description.

V0.2 fixes a bug in my implementation of solar eclipse time, and returns results. Note: It reports a magnitude of 2.0 for the solar eclipse of October 2023, whereas online sources suggest 0.9…Initial investigation suggests that the calculation used should only apply to a partial eclipse, and a different calculation should be used for annular eclipses [or NaN until new calculation included]. I am surprised that an annular eclipse is apparently not considered a type of partial eclipse. Workaround: Until fixed, ignore magnitude when the solar eclipse is not partial. Magnitudes of partial solar eclipses are ok, but not annular, hybrid or total. (The magnitude of lunar eclipses is OK). Valid solar magnitudes are accurate to 2 sig figs.

Note: To find the 2008 Feb 7 annular solar eclipse , an unusually precise date is required: Eg 2008+1.5/12 (1/12 or 2/12 will miss it). [So a smaller calendar stepsize is needed].


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.