Repository for the Product Generation Executable (PGE) code utilized with the Observational Products for End-Users from Remote Sensing Analysis (OPERA) Science Data System (SDS).
- Python 3.8 or above
Get the code and work on a branch:
git clone ... git checkout -b "<issue number>_<issue description>"
Install a Python virtual environment, say in a venv directory:
python3 -m venv venv source venv/bin/activate
Install the package and its dependencies for development into the virtual environment:
pip install --editable '.[dev]'
Some of the container build scripts expect the GNU style of common shell utilities, as opposed to the OSX versions. If developing on OSX, make sure you install the coreutils (via Homebrew https://brew.sh/), package prior to attempting a container build:
brew install coreutils
To launch the full set of tests, simply run the following command from within the opera_pge directory:
pytest .
User documentation is managed with Sphinx, which is also installed in your Python virtual environment when you run pip install --editable .[dev]. You can generate the documentation by hand at any time by running the following command within the opera_pge directory:
sphinx-apidoc -o docs/ opera
This library is licensed under the Apache Software License 2.0. The full text of the license can be found in this repository at LICENSE.txt.