Solar Eclipse percentage #252
Replies: 3 comments 26 replies
-
That is a great idea. For partial and annular eclipses, there is some fraction of the Sun not blocked by the Moon for a given observer. However, it's not obvious how to calculate the visible fraction of the Sun, because this is a problem of two overlapping discs. The obvious solution would not be very efficient: essentially pixel counting. Maybe someone else knows how to calculate the area of a disc when another disc of different size overlaps with it? At any rate, I will think about this, because it would be a handy addition, so long as it doesn't slow down the whole calculation significantly for applications that don't need it. |
Beta Was this translation helpful? Give feedback.
-
Before adding any new feature to Astronomy Engine, I always make sure I can find some reliable test data. I found this explanation of eclipse magnitude on timeanddate.com. It turns out that what we have been talking about, the fraction of apparent area that is blocked (solar eclipse) or darkened by shadow (lunar eclipse) is called obscuration. There is another term eclipse magnitude that indicates the fraction of the Sun/Moon's diameter that is blocked/shaded. Eclipse magnitude can sometimes be confused with magnitude, that describes how bright an object is, but is a completely different idea. I'm open to calculating either/both obscuration (area blockage) and eclipse magnitude (diameter blockage). However, before I do that, I need to find test data. The timeanddate.com site provides eclipse magnitude numbers, so we are covered there. I thought about trying to convert one to the other, but it won't work. For example, if two different partial solar eclipses block half the diameter the Sun (eclipse magnitude = 0.5), the obscurations can be different, because the Moon can be at a different distance from the Earth, thus having a larger or smaller apparent angular diameter. The same amount of the Sun's diameter can be blocked, but by a different Moon silhouette shape, resulting in a different amount of blocked area. This variability can be surprisingly large because the Moon's orbit is highly eccentric. Does anyone know of a good source of test data for obscuration numbers? |
Beta Was this translation helpful? Give feedback.
-
I just released Astronomy Engine v2.1.7, which supports calculation of obscuration for lunar eclipses and solar eclipses. The affected functions are SearchLunarEclipse, SearchGlobalSolarEclipse, and SearchLocalSolarEclipse (along with their respective "Next..." functions). There is a new field |
Beta Was this translation helpful? Give feedback.
-
In the method SearchLocalSolarEclipse you get the kind and start, end and peak time for a solar eclipse at a given coordinate. For partial eclipses it would be great to also get the peak percentage. Is that something you plan to add to the library in the nearest future?
Beta Was this translation helpful? Give feedback.
All reactions