-
-
Notifications
You must be signed in to change notification settings - Fork 219
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
Osculating elements in OMM seem to change when creating an EarthSatellite object #1037
Comments
The snag is that you are comparing an element set from one theory of orbital motion, the simple Kepler elliptical-orbit model, with elements from a different model, the SGP4 theory of perturbed Earth satellite motion. The elements don't mean quite the same thing and so don't ever match. Is there somewhere in the documentation where, if it mentioned this more prominently, you would have been spared the confusion about the two element sets? If you let me know which document and section, I could try adding a paragraph! |
Thank you for the quick response, and for the wonderful library! I'm finding it incredibly useful. I was ultimately looking to generate expected OMM messages after propagation. It's possible to do that for the initial epoch with elements matching the input with sgp4lib: from sgp4 import exporter
exporter.export_omm(sat.model, sat.name)
'''
'OBJECT_NAME' = 'TEST SAT'
'OBJECT_ID' = '2024-001A'
'CENTER_NAME' = 'EARTH'
'REF_FRAME' = 'TEME'
'TIME_SYSTEM' = 'UTC'
'MEAN_ELEMENT_THEORY' = 'SGP4'
'EPOCH' = '2024-01-01T00:00:00.000000'
'MEAN_MOTION' = 15.5
'ECCENTRICITY' = 0.01
'INCLINATION' = 51.6
'RA_OF_ASC_NODE' = 180.0
'ARG_OF_PERICENTER' = 0.0
'MEAN_ANOMALY' = 0.0
'EPHEMERIS_TYPE' = 0
'CLASSIFICATION_TYPE' = 'U'
'NORAD_CAT_ID' = 12345
'ELEMENT_SET_NO' = 999
'REV_AT_EPOCH' = 0
'BSTAR' = 0.0
'MEAN_MOTION_DOT' = 0.0
'MEAN_MOTION_DDOT' = 0.0
''' But I'm still unclear how to generate TLEs/OMMs at future epochs based on the propagated state. #1021 is a similar ask. Understood that it's a bad idea to do that in real-life scenarios since these messages are by definition only valid at their initial epoch. But there are some legit uses:
For the original ask, I think it's ultimately on me being confused that the TLE/OMM data was delivered with mean elements instead of osculating! But happy to provide some suggestions on improving the docs:
|
I am comparing orbital elements before and after creation of an EarthSatellite from an OMM, and am getting slightly different values. I expect this is benign, but am not sure what's going on.
Here's a quick example script that shows what's happening:
I thought this might have to do with the frame conversion between TEME and ICRF, but when I try to check it the results are very roughly the same as before.
The text was updated successfully, but these errors were encountered: