Skip to content

Add OMM format support - #72

Draft
jerematt wants to merge 7 commits into
masterfrom
add-omm-support
Draft

Add OMM format support#72
jerematt wants to merge 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.

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.

1 participant