Skip to content

Latest commit

 

History

History
45 lines (29 loc) · 1.01 KB

install.rst

File metadata and controls

45 lines (29 loc) · 1.01 KB

Conda

First, create a conda environment via:

$ conda env create -f environment.yml
$ conda env update -f env_update.yml

The following libraries will be installed in the conda environment named rastertools :

  • pyscaffold
  • geopandas
  • scipy
  • gdal
  • rasterio
  • matplotlib
  • tqdm

Secondly, run commands:

$ conda activate rastertools
$ pip install -e .

rastertools will be installed in the conda environment. Then, the CLI rastertools can be used and the API :obj:`eolab.rastertools` can be called in a python script.

Docker et Singularity

rastertools 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 rastertools:latest .

To create the singularity image from the docker image, run:

$ singularity build rastertools_latest.sif docker://rastertools:latest