I would like to share with you my experience about installation of production server ubuntu 16.10 with sen2cor 2.3.0 and Snap
I will share all my command line.
With this way, we obtain a functionnal Production server for L2A sentinel products
In this tuto, my username is "geouser", you have to replace paths with your own...
You have to make a clear and fresh installation of Ubuntu Server 16.10 and you can follow the steps hereafter
Installation of SSH (for remote access to the server)
sudo apt-get install ssh
Download & Install Anconda
Follow the differents steps, note differents paths
in a terminal enter:
it will open an interpreter with anaconda mentionned
now check the path of python
my own path is for exemple (note this path for later)
sudo sh esa-snap_all_unix_5_0.sh -c
when snap ask about configuration of python, do it and enter the path of python you have noted during anaconda install(in my case: /home/geouser/anaconda2/bin/python)
tar xvzf sen2cor-2.3.1.tar.gz
Becarefull with the next step: if there is an error you have probably a problem with your python path...
python setup.py install
Next you have to define environement variables:
sudo nano /etc/bash.bashrc
add the following lines at the end of the doc , save and quit
Now you can check sen2cor with this command line:
I hope this few lines help anyone.