Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ wheels := \
dist/$(NAME)-$(VERSION)-cp311-cp311-$(ARCH).whl \
dist/$(NAME)-$(VERSION)-cp312-cp312-$(ARCH).whl \
dist/$(NAME)-$(VERSION)-cp313-cp313-$(ARCH).whl \
dist/$(NAME)-$(VERSION)-cp313-cp314-$(ARCH).whl \
dist/$(NAME)-$(VERSION)-cp313-cp314t-$(ARCH).whl
dist/$(NAME)-$(VERSION)-cp314-cp314-$(ARCH).whl \
dist/$(NAME)-$(VERSION)-cp314-cp314t-$(ARCH).whl

.PHONY: help
help:
Expand Down Expand Up @@ -56,7 +56,7 @@ install: build

.PHONY: test
test:
pytest
python3 -m pytest

.PHONY: upload
upload: build
Expand Down
32 changes: 32 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,38 @@ predict.quick_find(tle.split('\n'), time.time(), (37.7727, 122.407, 25))
predict.quick_predict(tle.split('\n'), time.time(), (37.7727, 122.407, 25))
```

#### OMM support

Since version 2.0.0, support for the OMM format has been added, allowing the satellite orbital elements to be
provided a JSON-style format that handles NORAD ID's greater than 5 characters, and with less limits to
precision. Anywhere that a TLE is provided in the examples above, instead a python dictionary containing the
OMM data as described in the CCSDS blue book 502.0-B-3 can be provided. For example:

```python
omm = {
"OBJECT_NAME": "ISS (ZARYA)",
"OBJECT_ID": "1998-067A",
"EPOCH": "2026-08-19T03:31:32.932416",
"MEAN_MOTION": 15.49503867,
"ECCENTRICITY": 0.00076624,
"INCLINATION": 51.6332,
"RA_OF_ASC_NODE": 348.4866,
"ARG_OF_PERICENTER": 61.8697,
"MEAN_ANOMALY": 298.3065,
"EPHEMERIS_TYPE": 0,
"CLASSIFICATION_TYPE": "U",
"NORAD_CAT_ID": 25544,
"ELEMENT_SET_NO": 999,
"REV_AT_EPOCH": 58151,
"BSTAR": 0.00019587255,
"MEAN_MOTION_DOT": 0.00010553,
"MEAN_MOTION_DDOT": 0
}

predict.quick_predict(omm, time.time(), (37.7727, 122.407, 25))
```


## API
<pre>
<b>observe</b>(<i>tle, qth[, at=None]</i>)
Expand Down
Loading