Conda
First, create a conda environment via:
$ conda create -n georastertools
$ conda activate georastertools
Secondly, run commands:
$ conda install python=3.10 libgdal=3.5.2
$ pip install georastertools --no-binary rasterio
georastertools will be installed in the conda environment. Then, the CLI georastertools can be used and the API eolab.georastertools
can be called in a python script.
Docker et Singularity
georastertools can be used in a Docker container that is built from the Dockerfile available in the root directory of the project.
To create the docker image, run:
$ docker build -t georastertools:latest .
To create the singularity image from the docker image, run:
$ singularity build rastertools_latest.sif docker://georastertools:latest