ExoMars-PanCam / passthrough

Template-Driven PDS4 Product Generation
MIT License
4 stars 1 forks source link
esa nasa pds4 planetary-data

Passthrough - Template-Driven PDS4 Data Product Generation in Python

The Passthrough software library seeks to provide PDS4 data processors with an integrated solution for generating output labels based on declarative product type templates. It serves as a complementary counterpart to the PDS4 Tools read-in library, enabling processors to interact natively with the PDS4 format without the need for intermediary internal product representations or separate file formats.

To learn more, visit the project's documentation.

Installation

The Passthrough library lives on PyPI and can be installed with pip:

pip install passthrough

You'll need to have installed Python 3.6 or newer, and the package will pull in lxml and numpy as dependencies.

Development setup

The project uses Poetry to manage dependencies and packaging. After cloning the repository and installing Poetry (e.g. pipx install poetry), the following steps (executed from the project root directory) will initialise the development environment.

Create venv (substitute for the version you want to work against):

poetry env use python3.6  

Fetch dependencies defined in pyproject.toml and install project in development mode:

poetry install  

Please refer to the Poetry documentation for further information on its usage.

Feature roadmap

Near term / high priority