-
-
Notifications
You must be signed in to change notification settings - Fork 815
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Solar Eclipses to Astronomical calculations #2218
Conversation
Show magnitude of lunar eclipse
fixed jumping Moon
Great PR! Please pay attention to the following items before merging: Files matching
This is an automatically generated QA checklist based on modified files |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for adding new features!
I see problem: in the tab "All Solar Eclipses" after double click the info about location is not changes - this is wrong!
Yes, I need your help about that. The location changed, but not the info. |
In AstroCalcDialog::selectCurrentSolarEclipse:
Calling core->getCurrentLocation(); is not needed, but define the location of course need |
I guess the first column (Date and Time) should be in UTC for tab "All Solar Eclipses". @gzotti? |
I am in a workshop and cannot look at it closely. My natural feeling is it should be user time zone. But I don't see the GUI context now. Can answer in 6 hours. |
So, it should be as is - thanks! |
I have question for “Altitude” column - probably this data calculated due it presented on NASA eclipses website - why it rounded to whole? |
It's altitude with no refraction, so they are not very accurate. Altitude is useful because you will know that the Sun is high or low above the horizon during the eclipse. |
I'm afraid that in selectCurrentSolarEclipse there should be something like:
|
I will note that in some dates, especially annular eclipse with short duration, you can see that there is a little difference between position of the Moon and Sun at the place of greatest eclipse. I'm still looking for the reason behind it (maybe about the Besselian elements). |
Maybe column “Saros Number” should be identical for all subtabs and just “Saros”? |
I agree, thinking about that too. |
Please add translatable tooltips for data in columns |
Thank you for suggestion, I'm adding some of them |
Maybe synchronize dates in the input fields for Solar eclipses will good idea, e.g. if user changes the startup date for tab "All Solar Eclipses", then set it as a startup date in the tab "Local Solar Eclipses" also? |
Great addition, thank you! However, I really want to also have good documentation of our sources. Presumably you did not invent the way of computing from scratch, right? Did you use some algorithm that is available in the literature? Please follow usual standards, at least author, book title, publisher and year. And ISBN/DOI or URL for a modern source where available. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Hello @worachate001! Please check the fresh version (development snapshot) of Stellarium: |
Description
This PR will fix issue #407 by adding the method to search for all solar eclipses during user-input timespan.
The calculations are divided into two tabs.
First tab for generic information of all solar eclipses:
Second tab for information of solar eclipses visible at current location
Notes:
Screenshots (if appropriate):
Type of change
How Has This Been Tested?
Test Configuration:
Checklist: