Stellarium / stellarium

Stellarium is a free GPL software which renders realistic skies in real time with OpenGL. It is available for Linux/Unix, Windows and macOS. With Stellarium, you really see what you can see with your eyes, binoculars or a small telescope.
https://stellarium.org
GNU General Public License v2.0
7.61k stars 817 forks source link

Added ability to use a wider range of dates for AstroCalc/Ephemeris tool #3880

Closed alex-w closed 2 weeks ago

alex-w commented 3 weeks ago

Description

This patch adding ability to use a wider range of dates for AstroCalc/Ephemeris tool.

Fixes #3868 (issue)

Type of change

Checklist:

github-actions[bot] commented 3 weeks ago

Great PR! Please pay attention to the following items before merging:

Files matching src/**/*.cpp:

This is an automatically generated QA checklist based on modified files.

gzotti commented 3 weeks ago

Thank you for going after this now. But as always a few observations:

When I open the panel, then change the simulation date in the usual time panel (or any other method), I see the AC panel has an option to set the "From" date to "now". Good! When the date is outside the range of Gregorian calendar, the year is displayed as 9999. In this case the system should auto-switch to W.R.D (Wide range dates? Why not just call the button JD?). The GUI has lots of space after "W.R.D." ("JD") for a label to display the date range in "common" dates.

You have to set two dates. The end date might also be configured with just 2 options "[+1] [second/minute/hour/day/month|year]" (i.e., a spinbox and a dropdown), this may be faster than fiddling with the calendar panel or counting the JD numbers. At least, I see I can copy/paste the start date to start configuring, then scrolling the mousewheel 20 clicks.

alex-w commented 3 weeks ago

Well, let me try to create an another version of GUI…

alex-w commented 2 weeks ago

@gzotti OK, what's about changes?

Atque commented 2 weeks ago

Is 100 months enough? What if someone wants to display the movement of Saturn throughout a Saturnian year?

gzotti commented 2 weeks ago

Interface: Yes, I think everybody prefers this. @Atque just say 30 years. And you can set custom intervals with really all regular options. (One may want to have "altitude at -8° solar altitude" over a year, but seriously this is awkward.)

Atque commented 2 weeks ago

just say 30 years. And you can set custom intervals with really all regular options. (One may want to have "altitude at -8° solar altitude" over a year, but seriously this is awkward.)

Ah, I'm stupid. I didn't realize we could change the unit.

"Object at given solar altitiude" is actually very useful when displaying visibility of e.g. Mercury. But that's for another PR.

github-actions[bot] commented 1 week ago

Hello @alex-w!

Please check the fresh version (development snapshot) of Stellarium: https://github.com/Stellarium/stellarium-data/releases/tag/weekly-snapshot

github-actions[bot] commented 1 week ago

Hello @alex-w!

Please check the latest stable version of Stellarium: https://github.com/Stellarium/stellarium/releases/latest