Skip to content
Snippets Groups Projects
Commit 0f5fb6ee authored by Jeremy Commins's avatar Jeremy Commins
Browse files

Add more details to the installation description

parent ff33b7e0
No related branches found
No related tags found
No related merge requests found
......@@ -5,27 +5,36 @@ Installation
Installing sen2chain
--------------------
This package requires pip3, Python 3, GDAL, OTB and `Sen2Cor <http://step.esa.int/main/third-party-plugins-2/sen2cor/>`_.
This package requires Python 3, GDAL, OTB and `Sen2Cor <http://step.esa.int/main/third-party-plugins-2/sen2cor/>`_.
.. note:: The current version of sen2chain is not available on Windows.
.. note:: The current version of sen2chain is not available on Windows (yet).
Prerequisites
^^^^^^^^^^^^^
pip3, GDAL and OTB
GDAL
.. code-block:: console
sudo apt install gdal-bin libgdal-dev python3-gdal otb-bin python3-otb python3-pip
sudo apt install gdal-bin libgdal-dev
As indicated in the `OTB installation <https://www.orfeo-toolbox.org/CookBook/Installation.html#linux-x86-64>`_, do not forget to initialize the environment when you launch a new terminal with
Orfeo Toolbox (OTB) and its python bindings
.. code-block:: console
sudo apt install otb-bin
# required by the python bindings
sudo apt install python3-numpy
As indicated in the `OTB installation <https://www.orfeo-toolbox.org/CookBook/Installation.html#linux-x86-64>`_, do not forget to initialize the environment when you launch a new terminal:
.. code-block:: console
source otbenv.profile
Sen2Cor
.. code-block:: console
......@@ -36,6 +45,14 @@ Sen2Cor
Install sen2chain from sources
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Python pip
.. code-block:: console
sudo apt install python3-pip
Download Sen2Chain and install the python dependencies:
.. code-block:: console
git clone https://framagit.org/jebins/sen2chain.git
......@@ -47,7 +64,7 @@ Configuration
-------------
The configuration file is located at: ``~/sen2chain_data/config/config.cfg``.
This file (and corresponding path) is only created after the first sen2chain import in python.
This file (and corresponding path) is only created after the first Sen2Chain import in python.
Configure Sentinel-2 images library
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
......@@ -57,7 +74,7 @@ At first launch default folders are created in ``~/sen2chain_data/data``. You ca
Sen2cor configuration
^^^^^^^^^^^^^^^^^^^^^
The full path to the sen2cor bashrc file is needed to process L1C to L2A.
The full path to the sen2cor bashrc file is needed to process L1C to L2A.
e.g.: ``/home/user/Sen2Cor-02.05.05-Linux64/L2A_Bashrc``
Hubs logins
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment