Moon Coverage toolbox
Project description
ESA Moon Coverage Toolbox
The moon-coverage python package is a toolbox to perform surface coverage analysis based on orbital trajectory configuration. 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 Laboratory of Planetology and Geodynamics (CNRS-UMR 6112) at the University of Nantes (France), under ESA-JUICE founding support.
Installation
The package is available on pypi
and can be install directly with pip
:
pip install moon-coverage
If you already installed moon-coverage
and you want to upgrade it to the latest version,
you need to add a --upgrade
flag in the pip
command above.
The moon-coverage
is a SPICE based application and requires a set of kernels
to work.
Please refer to the documentation to get more information on how to
manage and setup your kernels.
Documentation
The module documentation can be found on ReadTheDocs.
A basic Jupyter Notebook is available here and in the notebooks/
folder.
Local development and testing
Setup:
git clone https://juigitlab.esac.esa.int/datalab/moon-coverage
cd moon-coverage
pip install -e .
pip install -r tests/requirements.txt -r docs/requirements.txt
Linter:
flake8 moon_coverage/ tests/ setup.py docs/conf.py
pylint --rcfile=setup.cfg moon_coverage/ tests/*/*.py setup.py
Unit tests (with pytest
):
pytest --cov moon_coverage tests/
Build the docs (with sphinx
):
sphinx-build docs docs/_build --color -W -bhtml
Deploy on a JupyterLab Docker instance
A Dockerfile
configuration setup is provided in the docker/
folder.
cd docker/
To build the Docker image:
docker-compose build
Start the JupyterLab instance:
docker-compose run --service-ports jupyter-lab
Then click on the link in the console: http://127.0.0.1:8000/lab?token=xxxxxxxxx
You can check that the instance is correctly configured:
docker-compose run jupyter-lab-tests
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for moon_coverage-0.9.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b1a046ccb0a5a180ad15e8c993fcdc9c86049833dd9a9924b319b7835116eda5 |
|
MD5 | 35560f1d2d2ba9b5505ccaee1c2d1149 |
|
BLAKE2b-256 | 0c17e873951d4121716ef60710aea056416938af5ed5026a08e273096b0bae12 |