Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Create valid ASCII OPM, OMM, and OEM files.

Project Description

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)
Release History

Release History

This version
History Node

0.2.4

History Node

0.2.3

History Node

0.2.2

History Node

0.2

History Node

0.1.7

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
odmpy-0.2.4.zip (206.9 kB) Copy SHA256 Checksum SHA256 Source Dec 7, 2014

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting