Get this error when trying to execute the latest version of sen2cor.
Any ideas on what can be wrong?
Regards
/Jonas
$ L2A_Process S2A_MSIL1C_20170127T102301_N0204_R065_T33VXG_20170127T102258.SAFE/
Sentinel-2 Level 2A Processor (Sen2Cor), 2.3.1, created: 2017.02.03 started …
no resolution specified, will process all resolutions.
Progress[%]: 0.13 : PID-53112, L2A_ProcessTile: processing with resolution 60 m, elapsed time[s]: 3.865
Progress[%]: 0.13 : PID-53112, L2A_ProcessTile: start of pre processing, elapsed time[s]: 0.000
Progress[%]: 0.13 : PID-53112, L2A_Tables: start import, elapsed time[s]: 0.062
Progress[%]: 0.17 : PID-53112, L2A_Tables: band B01 imported, elapsed time[s]: 1.293
Progress[%]: 1.24 : PID-53112, L2A_Tables: band B02 imported, elapsed time[s]: 32.524
Progress[%]: 2.29 : PID-53112, L2A_Tables: band B03 imported, elapsed time[s]: 32.048
Progress[%]: 3.36 : PID-53112, L2A_Tables: band B04 imported, elapsed time[s]: 32.607
Progress[%]: 3.65 : PID-53112, L2A_Tables: band B05 imported, elapsed time[s]: 8.939
Progress[%]: 3.94 : PID-53112, L2A_Tables: band B06 imported, elapsed time[s]: 8.908
Progress[%]: 4.24 : PID-53112, L2A_Tables: band B07 imported, elapsed time[s]: 9.079
Progress[%]: 4.54 : PID-53112, L2A_Tables: band B8A imported, elapsed time[s]: 9.188
Progress[%]: 4.58 : PID-53112, L2A_Tables: band B09 imported, elapsed time[s]: 1.195
Progress[%]: 4.61 : PID-53112, L2A_Tables: band B10 imported, elapsed time[s]: 0.776
Progress[%]: 4.90 : PID-53112, L2A_Tables: band B11 imported, elapsed time[s]: 8.924
Progress[%]: 5.19 : PID-53112, L2A_Tables: band B12 imported, elapsed time[s]: 8.939
Progress[%]: 5.19 : PID-53112, L2A_ProcessTile: start of Scene Classification, elapsed time[s]: 0.000
Progress[%]: 5.20 : PID-53112, Pre process , elapsed time[s]: 0.155
Progress[%]: 5.20 : PID-53112, L2A_SC init , elapsed time[s]: 0.186
Progress[%]: 5.21 : PID-53112, L2A_CSND_1_1 , elapsed time[s]: 0.187
Progress[%]: 5.21 : PID-53112, L2A_CSND_1_2 , elapsed time[s]: 0.201
Progress[%]: 5.22 : PID-53112, L2A_CSND_2_0 , elapsed time[s]: 0.156
Progress[%]: 5.23 : PID-53112, L2A_CSND_2_1 , elapsed time[s]: 0.170
Progress[%]: 5.23 : PID-53112, L2A_CSND_2_1_2, elapsed time[s]: 0.171
Progress[%]: 5.23 : PID-53112, L2A_CSND_2_2 , elapsed time[s]: 0.078
Progress[%]: 5.24 : PID-53112, L2A_CSND_2_3 , elapsed time[s]: 0.077
Progress[%]: 5.24 : PID-53112, L2A_CSND_2_4 , elapsed time[s]: 0.140
Progress[%]: 5.25 : PID-53112, L2A_CSND_2_5 , elapsed time[s]: 0.248
Progress[%]: 5.26 : PID-53112, L2A_CSND_3 , elapsed time[s]: 0.280
Progress[%]: 5.26 : PID-53112, L2A_CSND_5_1 , elapsed time[s]: 0.201
Progress[%]: 5.28 : PID-53112, L2A_CSND_5_2 , elapsed time[s]: 0.388
Progress[%]: 5.29 : PID-53112, L2A_CSND_6 , elapsed time[s]: 0.264
Progress[%]: 5.29 : PID-53112, L2A_CSND_6_2 , elapsed time[s]: 0.186
Progress[%]: 5.30 : PID-53112, L2A_CSND_7 , elapsed time[s]: 0.249
Process L2A_ProcessTile-1:
Traceback (most recent call last):
File “C:\Users\jonas.ardo\AppData\Local\Continuum\Anaconda2\lib\multiprocessing\process.py”, line 258, in _bootstrap
self.run()
File “C:\Users\jonas.ardo\AppData\Local\Continuum\Anaconda2\lib\site-packages\sen2cor-2.3.1-py2.7.egg\sen2cor\L2A_ProcessTile.py”, line 121, in run
if self.process_60() == False:
File “C:\Users\jonas.ardo\AppData\Local\Continuum\Anaconda2\lib\site-packages\sen2cor-2.3.1-py2.7.egg\sen2cor\L2A_ProcessTile.py”, line 147, in process_60
return self.process()
File “C:\Users\jonas.ardo\AppData\Local\Continuum\Anaconda2\lib\site-packages\sen2cor-2.3.1-py2.7.egg\sen2cor\L2A_ProcessTile.py”, line 205, in process
if(sc.process() == False):
File “C:\Users\jonas.ardo\AppData\Local\Continuum\Anaconda2\lib\site-packages\sen2cor-2.3.1-py2.7.egg\sen2cor\L2A_SceneClass.py”, line 856, in process
self.L2A_SHD()
File “C:\Users\jonas.ardo\AppData\Local\Continuum\Anaconda2\lib\site-packages\sen2cor-2.3.1-py2.7.egg\sen2cor\L2A_SceneClass.py”, line 446, in L2A_SHD
csd1 = self.L2A_CSHD_1()
File “C:\Users\jonas.ardo\AppData\Local\Continuum\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