add util to fetch new orbit data elemets from JPL for ssystem_major, refs #4894#4908
add util to fetch new orbit data elemets from JPL for ssystem_major, refs #4894#4908schenlap wants to merge 16 commits into
Conversation
|
with I get small errors for moons of jupiter, saturn, uranus but I have big (nearly the same error) for neptun, mars an pluto moons. I have to investigate further.
|
|
Interesting work. I see some systematic parallels in 0.35' yearly amplitude, but then also in much larger parallel curves. Any light time effects? And clearly there is some error in the Moon evaluation, this should be within arcseconds or less, not up to 160° degrees off in monthly period. Is this a static Moon position? |
|
JPL coordinates are topocentric or geocentric? Deimos and Phobos use special theories of orbits, but probably his out of valid range now. |
|
I found my error. It was a radian to degree convertion that was unnecessary (claude.ai added it).
Now a few condidates are highlighted that clearly need correction with new data. I would suggest all with max error > 2' (maybe 0.35' came from the planet position itself).
coord@399 + COORD_TYPE=GEODETIC + SITE_COORD = Topocentric (surface point) |
|
Appendix F in the User Guide shows typical errors in past and present times. I cannot say where the 0.35' come from, it's larger than what our list . To exclude any topo efect, switch off topographic positions in Stellarium and Horizon. The Neptune graph looks like it has a monthly wobble on top of an annual wobble. Both are weird, but is the JPL position geocentric or (Earth-Moon-) barycentric? What about nutation? aberration? (isn't that annually 22''~0.35'?!) |
|
Yes, the 0.35' should be aberration (which you can easily switch off in Stellarium). |
Indeed. You can still use J2000 coordinates, but disable the annual aberration in Stellarium. It gives near-zero errors for planets. |
|
wow, that's for the tests, that look good.
|
what? Can you commit your changes in my PR? |
|
You can select deltaT model in the time settings.
Am 14. Mai 2026 10:14:29 MESZ schrieb schenlap ***@***.***>:
…schenlap left a comment (Stellarium/stellarium#4908)
wow, that's for the tests, that look good.
- geocentric coordinates (Tools > uncheck 'Topocentric coordinates')
- apparent coordinates (equinox of date)
- TT timescale (not UTC) (Time > Time correction > 'Without correction')
can not be changed from API (or I did not find it). I could only add aberration disable. But that is ok for me. I will no work on the manual and test new data for every object above 2' max error.
--
Reply to this email directly or view it on GitHub:
#4908 (comment)
You are receiving this because you were mentioned.
Message ID: ***@***.***>
|
Yes, I am aware of this. I wanted to automate it via the API, but I couldn't find a way. |
|
core.getDeltaTAlgorithm(), core.setDeltaTAlgorithm("WithoutCorrection") |
|
I think the codeFactor errors are fase positives. The only thing I could change would be the extra white spaces in but here the whitespaces make it better readable. Please add a note if i should change this.
i am only waiting for feedback here, than my PR wold be ready for review. |
|
I just found an issue in new orbital elements. Look at Elara (Jupiter's moon), orbit_Ascendingnode should be updated to the new epoch, but it's not. |
|
I debugged it. It was an issue with lower-case writing of node. Fix will follow soon |
This should probably be handled in a follow-up by someone more familiar with this area. |
|
Great PR! Please pay attention to the following items before merging: Files matching
This is an automatically generated QA checklist based on modified files. |
|
An error of one degree for the Moon is definitely wrong data. You can also see there is no before/after change. Are you sure to have topographic correction switched off? Also Mercury, 1/4 arcminute sounds like its topographic parallax. For the rest, whatever exceeds single-digit arcminutes I guess this indicates a principal issue (misunderstanding) with the geometrical orbit model, even if (probably) mean longitude is updated and therefore the respective moon is at least "on the right side of the planet" for now. But as said, the orbital model is legacy code, unfortunately not documented by the original creator. Somebody should look into the topic with the question "given orbital elements from JPL, how to compute planet moon positions". Thinking it over and starting from scratch. EDIT: We can of course accept the new data that makes the error apparently less severe, even if the orbital model remains wrong. But please try to remove the systematic error (topocentric parallax) in your investigation - just observe from the geocenter. |
I did only change objects with orbit data, not special function like My Settings changed from default:
Is there anything else I should change? |
|
Did you also set geocentric observer in JPL Horizons? |
863f754 to
8a0a2de
Compare
|
I think remarks ( |
Add 'TT' to use Terrestrial Time in JPL Horizons.
|
@schenlap please update python code according to PEP8 guide. |
done |












This is a continuation of pr #4894 , currently in draft state.
Description
I see this now fulfilled:
That script should go into utils, and the process described in SUG and/or MAINTAINER_BUSINESS.md
Checklist: