Skip to main content

Planetary coverage package

Project description

Planetary coverage package

Planetary coverage logo

CI/CD Coverage Documentation Status

PyPI Conda-Forge Python License

Docs DataLab Software Heritage


The planetary-coverage package is a toolbox to perform surface coverage analysis based on orbital trajectory calculations. Its main intent is to provide an easy way to compute observation opportunities of specific region of interest above the Galilean satellites for the ESA-Juice mission but could be extended in the future to other space mission.

It is actively developed by the Observatoire des Sciences de l'Univers Nantes Atlantique (OSUNA, CNRS-UAR 3281) and the Laboratory of Planetology and Geosciences (LPG, CNRS-UMR 6112) at Nantes University (France), under ESA-Juice and CNES founding support.

logos

📦 Installation

The package is available on PyPI and can be installed very easily:

  • If you are in a Jupyter environnement, you can use the magic command %pip in a notebook cell and ▶️ Run it:
%pip install planetary-coverage
  • or, if you are using a terminal environment, you can do:
pip install planetary-coverage

Note: If you plan to use this package with Juice and you want to enable PTR simulation with AGM. You can add a juice extra parameter in the pip install command: pip install planetary-coverage[juice]

The package is also available on conda-forge and you can install it with conda:

conda config --add channels conda-forge
conda config --set channel_priority strict

conda install planetary-coverage

✏️ How to cite this package

If you use this package for your analyses, please consider using the following citation:

Seignovert et al. 2023, Planetary coverage package (1.1.1), planetary-coverage.org, swh:1:rel:f6280865fc5144b4beadc04d4085385f7a58491d

or can use either:

⚡️ Issues and 💬 feedback

If you have any issue with this package, we highly recommend to take a look at:

If you did not find a solution there, feel free to:

🎨 Contribution and 🐛 fix bugs

Contributions are always welcome and appreciated. An account on the Juice Giltab is required. You also need to install the recent version of Poetry (≥1.8), for example on Linux/macOS/Windows (WSL), you can run this command:

curl -sSL https://install.python-poetry.org | python3 -

Then you are good to go!

  1. 🍴 Fork this project

  2. 🐑 Clone and 📦 install the repository locally:

git clone https://juigitlab.esac.esa.int/<YOUR_USERNAME>/planetary-coverage
cd planetary-coverage

poetry install --extras juice
  1. ✍️ Make your edits and 🚧 write the tests.

  2. 🚦 Check that the linter and formatter are happy 😱 🤔 😃 :

poetry run ruff format --diff
poetry run ruff check
  1. 🛠 Check that your tests succeed 👍 and you have a coverage of 100% ✨ :
poetry run pytest
  1. 📖 Complete and ⚙️ build the documentation (if needed):
cd docs/
poetry run make docs
  1. 📤 Push your changes to your forked branch and 🚀 open a new merge request explaining what you changed 🙌 👏 💪.

👽 Maintainer section

  • To add a new contributor, you need to edit the following files:

    • CITATION.cff
    • codemeta.json
    • planetary-coverage.bib
  • To release a new version:

PREVIOUS_RELEASE_DATE="YYYY-MM-DD" bump2version [patch|minor|major]

Then, on the main branch add a new tag:

git tag x.y.z -m "Bump version: a.b.c → x.y.z"

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

planetary_coverage-1.1.1.tar.gz (4.7 MB view details)

Uploaded Source

Built Distribution

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

planetary_coverage-1.1.1-py3-none-any.whl (4.7 MB view details)

Uploaded Python 3

File details

Details for the file planetary_coverage-1.1.1.tar.gz.

File metadata

  • Download URL: planetary_coverage-1.1.1.tar.gz
  • Upload date:
  • Size: 4.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.11.0 Linux/3.10.0-1160.15.2.el7.x86_64

File hashes

Hashes for planetary_coverage-1.1.1.tar.gz
Algorithm Hash digest
SHA256 be483ba59dcb4d2e8744af15d8579c57a6824bba0f4728ef06b23a7ffa5cddfc
MD5 eb155e822fb385b88ec31e534495b179
BLAKE2b-256 0f4e1daee6bb24f8633378709d1eaeaa9585595281668d055b6163e855fd6aa7

See more details on using hashes here.

File details

Details for the file planetary_coverage-1.1.1-py3-none-any.whl.

File metadata

  • Download URL: planetary_coverage-1.1.1-py3-none-any.whl
  • Upload date:
  • Size: 4.7 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.11.0 Linux/3.10.0-1160.15.2.el7.x86_64

File hashes

Hashes for planetary_coverage-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2cb71187f680cb82b2caf3e89b9e8afebe9aa4df666a962529c3014aa8694de3
MD5 c740cacb972ae987407ee1dd1fac6f12
BLAKE2b-256 65ffc20d934e6701753a57dbabd33082172427acf32c91028e46e44516546b47

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