Specify system variable PYTHON_BIN for Sen2Cor

Hi @Sara.Aparicio,

It is not on the System variables screen that you set the path to the python executable, it is in the Configuration Parameters screen as I showed in my previous comment.

The python executable, for me python2.7 is in the bin folder under the Anaconda2 directory. Please follow the indications in my previous comment.

One last thing; what operating system are you using?

1 Like

@Ghanisen I followed your instructions:

And finally it seems it works!

Thank you very much @Ghanisen and @ABraun! !

Glad we could help @Sara.Aparicio.

1 Like

In my case, there was no variable found as python_bin in the system environmental variables. so i tries to replace the path in sen2cor system variableā€“python_bin as the path of python.exe file which was in anaconda 2. Still i was unable to run one particular dataset, while the other datasets were processed.

could it be that the data set is not complete? Did you compare the size of the folders?

Yes it is complete.

can you send me the name of the data please so I can check it myself?

I have downloaded the data set again though it was showing full file sizeā€¦now it was runningā€¦

Many Thanks for your support and for spending your valuable time.

Thank You for your nice explanation. Would you be so kind to please let me know the procedure for Ubuntu 16.04 as well. Waiting for your kind reply.

I am getting this error. And always output is exiting with oneā€¦earlier i use to get output correctly but now i was unable to figure out this errorā€¦can anybody help me out pleaseā€¦

I suspect this is because of python path. My python path is thisā€¦


My configuration parameter window looks like thisā€¦

I also have the same issueā€¦If i run the tool for only one band, then it is running like thisā€¦

And if i replace the source to dataset then it is giving this errorā€¦

please use sen2cor version 2.4. It is a standalone package and has all dependencies and requirements. No separate Anaconda/Python required any longer.

I am receiving this error, is there any one who can help me ?

which version of SNAP are you using? There is a new version 6 since a couple of days which includes sen2cor without having to set variables manually.

You can enable the option ā€œDisplay execution outputā€. This might show some reason.
Also, you can look into the log file. You find it by selecting from the menu ā€œHelp / Show Log Directoryā€.