question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support OMM file format

See original GitHub issue

As documented at Celestrak’s website, an XML/JSON based format called OMM (spec: https://public.ccsds.org/Pubs/502x0b2c1.pdf) is being pushed as a more modern replacement for the TLE format. Since the parameters are still reported in terms of sgp4 elements, and given the dominance of CelesTrak as a source of orbit information, it seems reasonable imo to add support to this project for the OMM format.

I’d be happy to open a PR for this with some guidance on how you’d like this structured. Would it be more reasonable to:

  1. Add this functionality into io.py?
  2. Create a new submodule, omm.py or something similar?
  3. Something else?

This is my first time trying to contribute to an open-source project, so apologies if there’s something I’m missing.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:23 (21 by maintainers)

github_iconTop GitHub Comments

3reactions
brandon-rhodescommented, Jan 8, 2021

I have just released a new version of the library that, thanks to some code contributed by @astrojuanlu, can do OMM export to a Python dictionary, which the user is then free to output as JSON or CSV or more exotic formats as they please. While users might run into snags that will require a bit more documentation or code, I think that we can now close this issue, since the basic round-trip to and from OMM is now possible.

Feel free to make further comments here in this issue, though, if you have questions about the new support that don’t seem to warrant an entire new issue!

And thanks again, everyone, for pointing my attention at the new format, which hadn’t been on my radar yet.

2reactions
brandon-rhodescommented, Jun 30, 2020

@benjaminglass1 — I don’t see any useful Python code at https://spacedatastandards.org/ and I don’t see any update for the traditional SGP4 C++ library to support the new formats, so it does look appropriate for this library to add code itself for reading the format.

There does seem to have been some code for this feature, though, offered last week over on the Skyfield project that uses this library:

https://github.com/skyfielders/python-skyfield/pull/398

I’ll see about getting that author to instead make a pull request here — in which case there might not be much new code needing to be written, @benjaminglass1; we’ll see!

Read more comments on GitHub >

github_iconTop Results From Across the Web

OMM File - What is it and how do I open it?
The OMM file extension indicates to your device which app can open the file. However, different programs may use the OMM file type...
Read more >
OMM File Extension: What Is It & How To Open It?
OMM File Summary · 4 · Open your files in Android 6.0.1 with FileViewPro File Viewer.
Read more >
.OMM File - What It Is & How to Open One
OMM is OptiMatrix Maker data. Learn what an OMM file is, how to open an OMM file or how to convert an OMM...
Read more >
OMM file extension: OptiMatrix Maker Data – Open *.omm files ...
What programs help to create and edit a OMM file? How to convert OMM files to another file format? How to convert another...
Read more >
Open file extension omm: Macleod File
PC Matic offers free computer help, use our free PC Diagnostics to tuneup your computer.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found