@@ -28,17 +28,22 @@ Orfeo Toolbox (OTB) and its python bindings
As indicated in the `OTB installation
<https://www.orfeo-toolbox.org/CookBook/Installation.html#linux-x86-64>`_, you need to modify some files to have functional OTB installation. To use Python3 you need in the file otbenv.profile modify ``lib/python`` into ``lib/python3``, for variable PYTHONPATH
<https://www.orfeo-toolbox.org/CookBook/Installation.html#linux-x86-64>`_, you need to modify some files to have functional OTB installation :
* To use Python3 you need in the file otbenv.profile modify ``lib/python`` into ``lib/python3``, for variable PYTHONPATH
* You need to add a symlink to libpython3.5m.so.rh-python35-1.0 to make it works. The method is described in the FAQ on the OTB installation page. Note that you can create this symlink regardless of your version of Python3 by pointing to the file libpython3.Xm.so..
* Finally, you must initialize the environment each time you launch a terminal
.. code-block:: console
source otbenv.profile
You can also indicate in your user's .profile the path to ``otbenv.profile`` (example : source /home/user/OTB-6.6.0-Linux64/otbenv.profile)
Then you can install Python Numpy for OTB bindings
.. code-block:: console
# required by the python bindings
sudo apt install python3-numpy
Sen2Cor
.. code-block:: console
...
...
@@ -55,6 +60,13 @@ Python pip
sudo apt install python3-pip
Git
.. code-block:: console
sudo apt-get install git
Download Sen2Chain and install the python dependencies: