Skip to main content

Orbit Data Messages

Build Status Test Coverage PyPI Version Python Version MIT License

odmpy is a python package for creating valid ASCII OPM, OMM, and OEM files.

Currently, only the orbital parameter message (OPM) module has been implemented.

Installation

$ pip install odmpy

Example

import odmpy.opm as opm
from datetime import datetime

header = opm.Header(originator='NASA')

metadata = opm.Metadata(
    object_name='International Space Station',
    object_id='1998-067A',
    center_name='Earth',
    ref_frame=opm.RefFrame.EME2000,
    time_system=opm.TimeSystem.UTC)

sv = opm.DataBlockStateVector(
    epoch=datetime(2014, 11, 7, 15, 30, 23),
    x=6794,
    y=0,
    z=0,
    x_dot=0,
    y_dot=7.6,
    z_dot=0)

data = opm.Data(state_vector=sv)

iss = opm.Opm(header, metadata, data)

with open('iss.opm', 'w') as f:
    iss.write(f)

Go to Package Documentation

Metadata

Release files for odmpy 0.2.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for odmpy 0.2.4
File Size Uploaded Provenance
odmpy-0.2.4.zip 206.9 kB Without provenance Details

Release files / odmpy-0.2.4.zip

Download URL odmpy-0.2.4.zip
Size 206.9 kB
Tags Source
SHA-256 checksum
How to use checksums
cc145073ba872f028548fc8ba8f76cccbd33460a554892bb84377f41c13ce8b5
BLAKE2b-256 checksum
How to use checksums
6644a1981a23917e2f2addb3d0dba2394d8abcb8ac2e7e8c0e45e3acbd5e1cdd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for odmpy 0.2.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page