Skip to content

Add OMM format support - #72

Merged
jerematt merged 7 commits into
masterfrom
add-omm-support
Aug 27, 2026
Merged

jerematt merged 7 commits into
masterfrom
add-omm-support

Conversation

@jerematt

@jerematt jerematt commented Aug 19, 2026

Copy link
Copy Markdown
Collaborator

Adds support for providing the satellite orbital parameters in OMM dictionary/JSON format instead of TLE.

The interface retains the same TLE support as it did before, allowing TLE's to be passed in as strings or a list of strings for each line.

OMM data would be passed in as a dictionary containing the standard OMM JSON elements defined by CCSDS, any extra keys are silently ignored. Handles both SpaceTrack and Celestrak-style JSON OMM (where the values are either quoted strings or Numbers/Integers).

Fixes the Makefile, and adds some tests for the above. Also removed a lot of unused code from within predict.c

Bumps version to 2.0.0 - whilst technically the python/user-level API hasnt been broken, the underlying Python-C API has changed, and the change overall is big enough to merit a major bump.

One minor API change - in the returned observation objects, when using python3, visibility now returns a one-character str rather than a one-character byte as it did before. This makes it consistent with python2 behaviour, and allows the output to be more easily serialized by json and other formats which may not be able to encode bytes directly.

@jerematt
jerematt marked this pull request as ready for review August 25, 2026 10:51

@wfanselow wfanselow left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@jerematt
jerematt merged commit 49915ad into master Aug 27, 2026
7 checks passed
@jerematt
jerematt deleted the add-omm-support branch August 27, 2026 14:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants