Help with sen2cor and SNAP

so what can you find under:
C:\Anaconda\Lib\site-packages\sen2cor-2.2.1-py2.7.egg\sen2cor

Is this your sen2cor installation directory?

1 Like

Yes, it looks like it is there.

no, your installation expects it under
C:\Anaconda\Lib\site-packages\sen2cor-2.2.1-py2.7.egg\sen2cor
while it is in
C:\Program Files\Anaconda2\Lib\site-packages\sen2cor-2.2.1-py2.7.egg\sen2cor

I think there went something wrong with the installation of sen2cor.

Enter pip uninstall sen2cor in order to delete it completely and run the installation again as stated in the manual.

1 Like

Thank you so much for your help!
cheers :slight_smile:

come on, don’t just post pictures of error messages if you expect help.

Most likely your installation was not successful. If you have other programs that use python there could be a mismatch between the different python versions.

User marko was successful by removing old GDAL variables from the environment and re-installing sen2cor.


Hello!
I have a problem while i try to install Sen2cor 2.2.1 in Snap 3.
I followed the steps of the release notes, so the L2A Process --help looks like that

which means the installation is ok.

After that in Snap i did all the instractions and i read the forum . The problem i had, i fixed it as i put the variables from the system so the PYTHON BIN which couldn’t find is ok.

Now it should work as i have uninstall and install from the begining and all looks okey, but when i load the image of S2 nothing happens.
Please i am very confused !
My pc’s window is 10
thanks in advance
A.

what error message do you get?

I don’t get error , when i load the image the program tries to read it , and after that nothing happens. The image is not loaded.
Is there any way to see the error while the image is loaded?

thanx again!

Hi,

you are using an old version of SNAP. Please, try to download and install the last version and tell us if it works properly.

okey, i will try
thnx

Please also install the latest version of SenCor 2.3.0:
http://step.esa.int/main/third-party-plugins-2/sen2cor/

Regards,
Jérôme

Hello Jerome,
thank you for your reply,

I installed the latest versions of sen2cor and snap. The image is opened but cannot be atmospherically corrected from sen2cor as the page is blank as you see below

also i thought that this would help to figure out what happens

the SEN2COR_HOME is strange. It should be something like

C:\Users\Halid\Documents\sen2cor

hello i install sen2cor in C: not in users

I don’t know if this is a good idea.
Can you run L2A_process from the command line?

It is described in the manual, chapter 3.2.1

althought i change the Sen2cor_home from the system variables
c: sen2cor-2.3.0 , i run again the tool and there was some execution but failed because of the below error

Also i would like to refer that i am working to another pc that there is no internet connection at the moment.

Hello Abraum
well i install the sen2cor in c: not in users so i changed the directory
of SEN2COR_HOME in C:sen2cor , so the result as you can see bellow. I have
to mention that the pc i am working at the moment has no internet connection

Thanks again in advance!

if the path in your SEN2COR_HOME variable matches the actual location of the files it should be ok.

as asked above:
Can you run L2A_process from the command line?

It is described in the manual, chapter 3.2.1

yes, i run, sorry i didn;t see that you mentioned that . As you below the L2A Process