Prerequisites

Prerequisites#

Sen2Chain requires pip, GDAL, Git and Sen2Cor

pip#

~$ sudo apt install python3-pip

GDAL#

~$ sudo apt install gdal-bin libgdal-dev python3-gdal

Git#

~$ sudo apt-get install git

Sen2cor 2.12.03#

  1. Download Sen2Cor v2.12.03

~$ wget https://step.esa.int/thirdparties/sen2cor/2.12.0/Sen2Cor-02.12.03-Linux64.run
  1. Make it executable

~$ chmod +x Sen2Cor-02.12.03-Linux64.run
  1. Install Sen2Cor

~$ ./Sen2Cor-02.12.03-Linux64.run
You can add extra data input to Sen2Cor in order to improve some features of Sen2Chain.
These functions are not directly mobilized by Sen2Chain but for optimal operation you can add ESA landcover data and the SRTM. Please find the process at this page.