Sen2cor Error - 'float' object cannot be interpreted as an index

Hi. I’m using sen2cor for the first time and it runs well but when arrives 99 percent gives this error message and no result is given. Can you help me with this?

Before start running the processor ask me for locate python.exe for PYTHON_BIN. I defined the path to python.exe located in the Anaconda directory and it worked… But cannot finish processing:

File “C:\Users\Rita\Anaconda2\Lib\site-packages\sen2cor-2.3.1-py2.7.egg\sen2cor\L2A_SceneClass.py”, line 497, in L2A_CSHD_1
filt_b = zeros([y_aa,x_aa], float32)
TypeError: ‘float’ object cannot be interpreted as an index

Thank you in advance

did you check this?

1 Like

Thank you ABraun. Yes, I did check that and got my first sen2cor output processed!