Skip to main content

ESA Planning Timeline Request package

Project description

ESA Planning Timeline Request (PTR) Python package

Since the Rosetta mission, ESA developed an XML-like syntax to create Planning Timeline Request (PTR) files. These files allow the mission team member to design custom attitude spacecraft pointing. It is readable by AGM and MAPPS softwares to detect spacecraft constrains violations, power conception and surface coverage. It can also be used to compute custom spacecraft attitude (quaterions and ck). This format will be re-used for the JUICE mission, and can already be tested on the JUICE pointing tool.

This python package implements an object oriented approach to help the creation and parsing of PTR files for the user, as well an interface to check JUICE PTR validity with AGM.

Disclaimer: This package is an early release and does not support all PTR implementations. Please, open an issue to report any issue you may accounter. Currently this tool in beta stage, do not use it in critical environments.

A detailed documentation can be found here.

Installation

This package is available on PyPI and could be installed like this:

python -m pip install esa-ptr

Even if this tool does not have any external dependencies, we recommend to use it in an isolated virtual environment (venv or conda).

Development and testing

If you want contribute to the development and tests your changes before submitting a merge request, you need to install Poetry and clone this repository:

git clone https://juigitlab.esac.esa.int/python/ptr.git python-esa-ptr ;
cd python-esa-ptr/

Install the package and its dependencies:

poetry install

Then, after your edits, you need to check that both linters are happy:

poetry run flake8
poetry run pylint ptr tests/

and all the tests passed:

poetry run pytest

Documentation

  • Rosetta Flight Dynamics: RO-ESC-IF-5501_i3r4_RSGS_FD_ICD-2.pdf

Project details


Download files

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

Source Distribution

esa_ptr-1.0.tar.gz (23.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

esa_ptr-1.0-py3-none-any.whl (29.6 kB view details)

Uploaded Python 3

File details

Details for the file esa_ptr-1.0.tar.gz.

File metadata

  • Download URL: esa_ptr-1.0.tar.gz
  • Upload date:
  • Size: 23.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.2 CPython/3.8.15 Linux/3.10.0-1160.15.2.el7.x86_64

File hashes

Hashes for esa_ptr-1.0.tar.gz
Algorithm Hash digest
SHA256 4faaee8412678b046bc057a8a5749fb892e9d2ae6cf99bf247a7549aff482765
MD5 6c99f93ab81568e6401667cd5da8a4ad
BLAKE2b-256 4089d16320f67587eaf373f76a7b4bd7ab8b4dc9e09c0feb4feb8677887a2f4f

See more details on using hashes here.

File details

Details for the file esa_ptr-1.0-py3-none-any.whl.

File metadata

  • Download URL: esa_ptr-1.0-py3-none-any.whl
  • Upload date:
  • Size: 29.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.2 CPython/3.8.15 Linux/3.10.0-1160.15.2.el7.x86_64

File hashes

Hashes for esa_ptr-1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5b02af2d0c2a780fc8352eeded418e5f258230e314773128cb01d07b56384778
MD5 04d1861fbd2c3b67e5e281b81490071e
BLAKE2b-256 07895418d54f1f1a789917381f5dc7d9d02f21299556b667dd6c7c53949c97f2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page