-
-
Notifications
You must be signed in to change notification settings - Fork 839
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
New star catalog with Gaia DR3 #3992
Conversation
…as real world values
…tude changes due to parallax changes into account
Just running on RPi4. Mem footprint is very relaxed (comparable to the old). I don't think I had ever downloaded all star catalogs. Now I start seeing some loss in framerate at level 7 of 9. 12fps is still acceptable, though. I dare going still deeper... And important for comparisons against older versions or if there is just other needs to run older versions: Is it possible to keep all catalogs under one Stellarium user dir? The star catalog's name is always "default" and has been probably since 2006. If there is need for separate catalogs, this new one could be named e.g. hip_gaia, so that only somewhere in code (StarMgr.cpp) the directory name is adjusted from |
Just remove specific *.cat files - no need manually editing json file.
JSON file will be recreated if their version number is not equal to expected one in the binary package - as result you may use one place to storage all possible catalogs ;) |
Maybe, I just didn’t tested loading and rendering catalogs on-the-fly… |
OK, but running e.g. 25.1, 1.2 and 0.15.2 on the same PC (for comparison, linked with RemoteSync or for whatever reasons; or alternating between versions for with/without ASCOM stuff), sharing the same STEL_USERDIR, may trigger conflicts when the second launched overwrites the first's JSON. (And does this mechanism work for old versions like 0.15?) This looks like dangerous design for me, and goes against whatever may have been planned in 2010 when "default" was apparently introduced. @xalioth, @10110111 ? |
Overwriting is possible after comparing versions in JSON file and in binary package, plus our catalogs is not changed frequently…
Well, the |
OK, no need to add switching code. Does a simple change of the catalog path in StarMgr::copyDefaultConfigFile() and StarMgr::init() lead to the suggested separation of "all versions which used the HIP/TYC/NOMAD catalog (named "default" from 2010 to 2024)" and "versions starting with 24.4+ using this new HIP/GAIA catalog". Old versions keep working with their current logic (in theory even catalog bugs may still be fixed, as unlikely as this is), while new versions will just never have the necessity to touch the "default" catalog. If you have no old version installed, the name of the (only) catalog will just be hip_gaia (or whatever we name this now, "v25", just not "default"). Truly incompatible changes should be handled like this, IMHO. |
Maybe you're right and string |
Just checked right now - no, we shouldn't remove this last sentence, because stars are not loaded from catalogs on-the-fly (at the moment of loading catalog) |
RPi3 also works, at least with extra cats stars_4 and stars_5. It downloads stars_6 but initialisation fails due to lack of memory. I did not realize this and happily started downloading even stars_7, then stellarium crashed with std::bad_alloc. But I think RPi3 is just the minimum platform to be used for limited installations, so going to about Pluto magnitude (13.75) should be fine. |
without testing though...
I see no necessary for just renaming catalogs |
I have fixed all missing pm/parallax issue mentioned by others. @alex-w Only stars4/5 is changed and is here https://www.astro.utoronto.ca/~hleung/shared/stellarium_new_catalog/trial5/. |
OK, done! |
Some new files here lack the POSIXly-desired trailing newlines, which is indicated by git-diff and by GitHub's diff viewer. These should be added.
Are there any testable versions among these commits, so that it would make sense to run, say, git-bisect on them? If yes, I suppose it's better to rebase. In any case, the changes to documentation (the Guide first of all) should be separated and squashed into a single commit after all the others. |
Sorry our ISP was offline for some time in mid-afternoon for whatever reason. Dec.24 overload? (about 15.000 reports at my ISP.) The current incremented version number is OK for me. Just the new path was important to allow parallel installations, thanks. I think there is no half-working in-between version to ever bisect. 24.4 has the HIP/TYC/NOMAD catalog, and this PR switches to HIP/GAIA DR3. For me a rebase&squash would be OK, even if the changes is large. Also, the directory issue may break any bisects. Of course, later fixes will be separate. So, for me it's OK. |
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.
Cosmetics like the empty line at end should be fixed, I second that (whatever git or CodeFactor report).
Else, this looks OK for me, many thanks!
Description
Still draft and writing. See discussion in #3982
Major Changes:
Star1
in the catalog now has object types field and will be displayed among the fieldType
on top of existing information. Meaning of the display in its current state can be found at https://simbad.cds.unistra.fr/Pages/guide/otypes.htx.Star1
that travel outside of their own zone in the far future/past are handled by pre-computing which stars will have this behavior and put them in a global zone (an extra zone for each geodesic level). So stars like Arturus can be displayed properly in the far future.I will upload the code to generate the new catalog here: https://github.com/henrysky/stellarium_star_catalogs. Give me a few days to organize.
To-do list for Henry:
Fixes #18
Fixes #85
Fixes #221
Fixes #348
Fixes #362
Fixes #363
Fixes #364
Fixes #369
Fixes #398
Fixes #399
Fixes #677
Fixes #777
Fixes #1016
Fixes #1032
Fixes #1061
Fixes #1189
Fixes #1192
Fixes #1541
Fixes #1659
Fixes #1724
Fixes #2786
Fixes #3108
Fixes #3136
Fixes #3315
Many issues related to missing stars, false stars, incorrect information, astrometry inconsistent with other softwares...
Screenshots (if appropriate):
Type of change
How Has This Been Tested?
Test Configuration:
Checklist: