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.71k stars 820 forks source link

Comet not shown longer than year after date of Stellarium launch #3229

Closed imaginer21 closed 1 year ago

imaginer21 commented 1 year ago

I have a question - when I add a comet in the list by solar system editor, the comet is shown only a year after the current date, then it disappears. Is there a way to set the visibility of a comet further than only a year after date of using Stellarium? (f.e. I see comet C/2023 A3 now and can be seen until Apr 30, 2024, then it is not shown).

github-actions[bot] commented 1 year ago

Thanks for adding your first issue to Stellarium. If you have questions, please do not hesitate to contact us.

alex-w commented 1 year ago

I guess the orbital elements for comet C/2023 A3 are outdated already and it should be updated by Solar System Editor plugin.

In any way please see Stellarium User Guide, section D.2.2

imaginer21 commented 1 year ago

Thank you. How do I update the elements? I only update with the SS editor, but this doesnt work.

alex-w commented 1 year ago

Thank you. How do I update the elements? I only update with the SS editor, but this doesnt work.

It should works. What about version of your copy of Stellarium?

imaginer21 commented 1 year ago

Last one, 23.1... using MPC but also Gideon van Buitenen database, but the problem remains. Once I get over 16/5/24, the image of the comet dissapears. It only shows its position, but no comet in the target.

gzotti commented 1 year ago

And the info text will most likely warn you with something about "Outdated elements". This is on purpose so that the simulation does not show objects where there are none. Page 383 of the User Guide explains the orbit_good parameter.

imaginer21 commented 1 year ago

Well, no text info appears. The comet only disappears. I tried to set different value to orbit_good parameter as well, but it didn't work. So you see the comet in your Stellarium after 30/4/2024 (I mean image of it)? What parameters do you have?

imaginer21 commented 1 year ago

obrazek obrazek

[c2023a3(tsuchinshanatlas)] absolute_magnitude = 4.7 albedo = 0.1 coord_func = comet_orbit dust_brightnessfactor = 1.5 dust_lengthfactor = 0.4 dust_widthfactor = 1.5 name = C/2023 A3 (Tsuchinshan-ATLAS) orbit_ArgOfPericenter = 308.488 orbit_AscendingNode = 21.5574 orbit_Eccentricity = 1.00018 orbit_Epoch = 2460066.5 orbit_Inclination = 139.1182 orbit_PericenterDistance = 0.391273 orbit_TimeAtPericenter = 2460581.1733 orbit_good = 1000 radius = 5 ref = MPEC 2023-HD1 slope_parameter = 4 type = comet

In ssystem_minor.ini in c:\Users\user\AppData\Roaming\Stellarium\data\

but there is another ssystem_minor.ini in c:\Program Files (x86)\Stellarium\data\

Now which one is working for this?

gzotti commented 1 year ago

Second image, last line in the text block.

The minor objects file is taken from the users' data directory because users are allowed to edit it. Never edit a file in C:\Program Files [(x86)]\Stellarium.

Now, change orbit_good=0 and the test is no longer performed. The comet will be plotted where the elements place it.

imaginer21 commented 1 year ago

Working, thanks!