Skip to content

Latest commit

 

History

History
32 lines (28 loc) · 1.07 KB

File metadata and controls

32 lines (28 loc) · 1.07 KB

Requirements

Installation

  1. Clone the repository:
git clone https://github.com/msteckle/sentinel-py.git
cd sentinel-py
  1. Install the required Python packages with uv:
uv pip install -e .
  1. Set up the SNAP environment:
export SNAP_HOME=/path/to/snap/bin
export PYTHONPATH=$SNAP_HOME/snap-python:$PYTHONPATH

Downloading S2

To download Sentinel-2 data, you will need to have an account on the Copernicus Open Access Hub and obtain your credentials. Once you have your credentials, you can use the CLI to download data. We recommend exporting your credentials as environment variables for convenience:

export CDSE_USERNAME=your_username
echo <your_password> > $HOME/.cdse/cdse_pw
chmod 600 $HOME/.cdse/cdse_pw
export CDSE_PASSWORD_FILE=$HOME/.cdse/cdse_pw