I have sen2cor installed from within SNAP, but the environmental variables are not set:
SEN2COR_HOME
SEN2COR_BIN
PYTHON_BIN is set to python, which in my system is:
alobo@Delia:~/snap$ ls -l /usr/bin/python
lrwxrwxrwx 1 root root 18 jun 4 2015 /usr/bin/python -> /usr/bin/python2.7
How should I set the 2 SEN2COR env. var.?
Perhaps /home/alobo/snap/s2tbx/modules ?
I am using Sen2Cor on linux from the command line. I prefer this because Sen2Cor processing takes some time. Thus I can process L1C products and at the same time analyse results of others within SNAP.
Installing Sen2Cor outside SNAP there are set all the environment variables correctly and Sen2Cor is running. The only I had to do was editing the shell scripts because I am working with cshrc and not with bashrc. Thus I had to change all “export” commands to “setenv”.
Script L2A_Cshrc sets the environment variables (for my insatllation) as follows: