Skip to content

Latest commit

 

History

History
110 lines (57 loc) · 2.13 KB

INSTALL.rst

File metadata and controls

110 lines (57 loc) · 2.13 KB

Installation

Development installation

Pre-Requirements

The Sentinel-2 Angle Bands (s2angs) depends essentially on:

  • affine
  • numpy
  • rasterio
  • scikit-image

Clone the software repository

Use git to clone the software repository:

git clone https://github.com/brazil-data-cube/s2-angs.git

Install s2-angs in Development Mode

Go to the source code folder:

cd s2-angs

Install in development mode:

pip3 install -e .[all]

Note

If you want to create a new Python Virtual Environment, please, follow this instruction:

1. Create a new virtual environment linked to Python 3.7:

python3.7 -m venv venv

2. Activate the new environment:

source venv/bin/activate

3. Update pip and setuptools:

pip3 install --upgrade pip

pip3 install --upgrade setuptools

Installing via Git

python3 -m pip install git+https://github.com/brazil-data-cube/s2-angs

or

git clone https://github.com/brazil-data-cube/s2-angs
cd s2-angs
pip install .

Building a Docker image

Build the image from the root of this repository.

docker build -t s2angs .