The installation procedure of Sen2Cor 2.3.0 does not generate the L2A_Process script (tested on two 64bit machines: Fedora and Linux Mint). I did on both a complete reinstall and had Sen2Cor 2.2.1 running there.
The previous 2.2.1 version came with these scripts:
[server@localhost ~]$ ls -la ~/anaconda2/bin/L*
-rwxrwxr-x. 1 server server 410 Nov 27 02:21 /home/server/anaconda2/bin/L2A_Process
-rwxrwxr-x. 1 server server 428 Nov 27 02:21 /home/server/anaconda2/bin/L2A_Process-02.02.01
-rwxrwxr-x. 1 server server 422 Nov 27 02:21 /home/server/anaconda2/bin/L2A_Process-2.2.1
while there are not created during the Sen2Cor 2.3.0 install procedure (also not elsewhere, I searched on the entire machine).
Here the procedure log:
[...]
creating dist
creating 'dist/sen2cor-2.3.0-py2.7.egg' and adding 'build/bdist.linux-x86_64/egg' to it
removing 'build/bdist.linux-x86_64/egg' (and everything under it)
Processing sen2cor-2.3.0-py2.7.egg
creating /home/mneteler/anaconda2/lib/python2.7/site-packages/sen2cor-2.3.0-py2.7.egg
Extracting sen2cor-2.3.0-py2.7.egg to /home/mneteler/anaconda2/lib/python2.7/site-packages
Adding sen2cor 2.3.0 to easy-install.pth file
Installed /home/mneteler/anaconda2/lib/python2.7/site-packages/sen2cor-2.3.0-py2.7.egg
Processing dependencies for sen2cor==2.3.0
Finished processing dependencies for sen2cor==2.3.0
Copying OpenJPEG library to /home/mneteler/anaconda2/lib/libopenjp2.so ...
Copying atmospheric library to /home/mneteler/anaconda2/lib/python2.7/site-packages/sen2cor-2.3.0-py2.7.egg/sen2cor/L2A_AtmCorr.so ...
[...]
SEN2COR 2.3.0 setup script:
This will finish the configuration of the environment settings.
[...]
OK to continue? [y/n]:
Please input a path for the sen2cor home directory:
default is: /home/mneteler/sen2cor
Is this OK? [y/n]: creating /home/mneteler/sen2cor
creating /home/mneteler/sen2cor/cfg
Setting environment for sen2cor ...
Creating L2A_Bashrc script under:
/home/mneteler/sen2cor
Creating L2A_Process.bash script under:
/home/mneteler/sen2cor
Creating the configuration file for OpenJPEG2 under:
/home/mneteler/.config/glymur
creating /home/mneteler/.config/glymur
Congratulations, you are nearly done ...
Last step: cd to /home/mneteler/sen2cor,
source the <L2A_Bashrc> script either manually via: "source L2A_Bashrc"
or integrate this call in your .bashrc or .profile script. Afterwards,
- you can call the processor from everywhere via: "L2A_Process"
- you will find the default configuration called "L2A_GIPP.xml" under:
/home/mneteler/sen2cor/cfg
Installation sucessfully performed.
mneteler@server2 ~ $ source ${SEN2COR_HOME}/L2A_Bashrc
mneteler@server2 ~ $ L2A_Process
L2A_Process: command not found
mneteler@server2 ~ $ ls -la ~/anaconda2/bin/ | grep L2A
I tried with both Anaconda2-4.0.0 and Anaconda2-4.2.0 including a complete removal and reinstallation.
I have also this problem. L2A_Process is not recognized. See screenshot
I tried to update glymur to version 8.7.0 because during installation I got an error but still doesn’t works.
Sometimes I think that older versions are better than new
Even the L2A process seems to be working (currently running). So i guess the installation some how skips building the L2A_process scripts in the bin directory.
Thanks for your reply Sajid. Indeed there seems to be an issue in the final steps of the installation. The SW team is currently investigating the origin of this issue.
like that the /bin files are created as they should be.
You will see this in the install log when it says
Installing L2A_Process-2.3.0 script to /opt/anaconda2/bin
Installing L2A_Process-02.03.00 script to /opt/anaconda2/bin
Installing L2A_Process script to /opt/anaconda2/bin
as long as setuptools are broken this output will be missing.
The workaround Benjamin proposes does work, thanks for that, however the root cause is in fact a wrong entry located in the MANIFEST.in. With that corrected, also the original setuptools from anaconda will work.
I attach the corrected MANIFEST.in here: MANIFEST.in (397 Bytes). The workaround is as follows:
replace the MANIFEST.in located in parallel to the setup.py installation script with the attached one.
repeat python setup.py install,
After that the scripts should be present.
It passed our tests as we had the more recent setuptools already installed so we did not notify the bug, sorry for that. We will place an updated version of the sen2cor installation asap.
As the note on the website says, “Please note that the software packages have been updated on
29/11/2016 at 15h00 CET time due to a mistake in the packaging process. If you downloaded them before the indicated date, please re-download them.”
Sorry again for the inconvenience this may have caused.