cd app-s-expression
Create the Python environment with mamba
(faster) or conda
(slower):
mamba env create -f environment.yml
Activate the Python environment with:
conda activate env_app_snuggs
To build and install the project locally:
python setup.py install
Test the CLI with:
s-expression --help
That returns:
$ s-expression --help
Usage: s-expression [OPTIONS]
Applies s expressions to EO acquisitions
Options:
-i, --input_reference PATH Input product reference [required]
-s, --s-expression TEXT s expression [required]
-b, --cbn TEXT Common band name [required]
--help Show this message and exit.
docker build . -t snuggs
cwltool --parallel app-package.cwl#s-expression params.yml
Releases are published in https://github.com/EOEPCA/app-snuggs/releases