I run sen2cor in my python script for a whole set of Sentinel-2 tiles. It worked properly for for 56 tiles and crashed then. Did anyone experience similar problems?
Cheers,
Andreas
UPDATE [2016/11/09 16:53]: It looks like this tile (which was downloaded from USGS Earth Explorer) is corrupt. I will re-download it and test again.
SEN2COR : Runs command prompt: L2A_Process --resolution 60 S:\S2\L1C_T\T31TGG\S2A_OPER_PRD_MSIL1C_R108_V20160823T103022
SEN2COR :
SEN2COR : Sentinel-2 Level 2A Prototype Processor (Sen2Cor), 2.2.2, created: 2016.10.16 started …
SEN2COR : Metadata file is invalid, see report file for details.
SEN2COR : selected resolution is 60 m.
SEN2COR : Metadata file is invalid, see report file for details.
SEN2COR : Progress[]: 2.44 : PID-7364, L2A_ProcessTile: processing with resolution 60 m, elapsed time[s]: 4.952 SEN2COR : Progress[]: 2.44 : PID-7364, L2A_ProcessTile: start of pre processing, elapsed time[s]: 0.001
SEN2COR : Progress[]: 2.48 : PID-7364, L2A_Tables: start import, elapsed time[s]: 0.082 SEN2COR : Progress[]: 2.92 : PID-7364, L2A_Tables: band B01 imported, elapsed time[s]: 0.902
SEN2COR : Progress[]: 16.36 : PID-7364, L2A_Tables: band B02 imported, elapsed time[s]: 27.337 SEN2COR : Progress[]: 29.41 : PID-7364, L2A_Tables: band B03 imported, elapsed time[s]: 26.527
SEN2COR : Progress[]: 42.35 : PID-7364, L2A_Tables: band B04 imported, elapsed time[s]: 26.311 SEN2COR : Progress[]: 45.91 : PID-7364, L2A_Tables: band B05 imported, elapsed time[s]: 7.255
SEN2COR : Progress[]: 49.64 : PID-7364, L2A_Tables: band B06 imported, elapsed time[s]: 7.572 SEN2COR : Progress[]: 53.32 : PID-7364, L2A_Tables: band B07 imported, elapsed time[s]: 7.483
SEN2COR : Progress[]: 57.13 : PID-7364, L2A_Tables: band B8A imported, elapsed time[s]: 7.750 SEN2COR : Progress[]: 57.53 : PID-7364, L2A_Tables: band B09 imported, elapsed time[s]: 0.817
SEN2COR : Progress[]: 57.86 : PID-7364, L2A_Tables: band B10 imported, elapsed time[s]: 0.675 SEN2COR : Progress[]: 61.23 : PID-7364, L2A_Tables: band B11 imported, elapsed time[s]: 6.846
SEN2COR : Progress[]: 64.55 : PID-7364, L2A_Tables: band B12 imported, elapsed time[s]: 6.756 SEN2COR : Progress[]: 64.57 : PID-7364, L2A_ProcessTile: start of Scene Classification, elapsed time[s]: 0.026
SEN2COR : Progress[]: 64.63 : PID-7364, Pre process , elapsed time[s]: 0.142 SEN2COR : Progress[]: 64.69 : PID-7364, L2A_SC init , elapsed time[s]: 0.105
SEN2COR : Progress[]: 64.77 : PID-7364, L2A_CSND_1_1 , elapsed time[s]: 0.161 SEN2COR : Progress[]: 64.85 : PID-7364, L2A_CSND_1_2 , elapsed time[s]: 0.164
SEN2COR : Progress[]: 65.02 : PID-7364, L2A_CSND_3 , elapsed time[s]: 0.352 SEN2COR : Progress[]: 65.12 : PID-7364, L2A_CSND_5_1 , elapsed time[s]: 0.202
SEN2COR : Progress[]: 65.31 : PID-7364, L2A_CSND_5_2 , elapsed time[s]: 0.388 SEN2COR : Progress[]: 65.44 : PID-7364, L2A_CSND_6 , elapsed time[s]: 0.260
SEN2COR : Progress[]: 65.53 : PID-7364, L2A_CSND_6_2 , elapsed time[s]: 0.189 SEN2COR : Progress[]: 65.61 : PID-7364, L2A_CSND_7 , elapsed time[s]: 0.158
SEN2COR : Progress[]: 67.35 : PID-7364, L2A_SHD , elapsed time[s]: 3.549 SEN2COR : Progress[]: 67.45 : PID-7364, DV recovery , elapsed time[s]: 0.206
SEN2COR : Progress[]: 67.57 : PID-7364, WP recovery , elapsed time[s]: 0.229 SEN2COR : Progress[]: 67.69 : PID-7364, Snow recovery , elapsed time[s]: 0.253
SEN2COR : Progress[]: 67.75 : PID-7364, Soil recovery , elapsed time[s]: 0.115 SEN2COR : Progress[]: 68.11 : PID-7364, Post process , elapsed time[s]: 0.734
SEN2COR : Progress[]: 68.11 : PID-7364, L2A_ProcessTile: start of Atmospheric Correction, elapsed time[s]: 0.002 SEN2COR : Progress[]: 68.22 : PID-7364, L2A_AtmCorr: end of calculation terrain maps, elapsed time[s]: 0.218
SEN2COR : Progress[]: 68.22 : PID-7364, L2A_AtmCorr: start of AOT retrieval at 550nm, elapsed time[s]: 0.001 SEN2COR : Progress[]: 68.49 : PID-7364, L2A_AtmCorr: end of AOT retrieval at 550nm, elapsed time[s]: 0.554
SEN2COR : Progress[]: 68.97 : PID-7364, L2A_AtmCorr: end of internal classification, elapsed time[s]: 0.976 SEN2COR : Progress[]: 69.21 : PID-7364, L2A_AtmCorr: end of interpolation LUTs, elapsed time[s]: 0.482
SEN2COR : Progress[]: 69.21 : PID-7364, L2A_AtmCorr: end retrieving reference pixels for dark areas, elapsed time[s]: 0.001 SEN2COR : Progress[]: 70.46 : PID-7364, L2A_AtmCorr: end of check for dense bright vegetation pixels, elapsed time[s]: 2.541
SEN2COR : Progress[]: 70.90 : PID-7364, L2A_AtmCorr: end of receiving atmospheric functions for all altitudes and visibilities, elapsed time[s]: 0.904 SEN2COR : Progress[]: 70.90 : PID-7364, L2A_AtmCorr: start of water vapour retrieval, elapsed time[s]: 0.001
SEN2COR : Progress[]: 71.32 : PID-7364, L2A_AtmCorr: end of water vapour retrieval preparation, elapsed time[s]: 0.845 SEN2COR : Progress[]: 71.41 : PID-7364, L2A_AtmCorr: end of water vapour retrieval, elapsed time[s]: 0.179
SEN2COR : Progress[]: 71.41 : PID-7364, L2A_AtmCorr: preparation of surface reflectance retrieval, elapsed time[s]: 0.001 SEN2COR : Progress[]: 73.65 : PID-7364, L2A_AtmCorr: end of surface reflectance retrieval preparation, elapsed time[s]: 4.554
SEN2COR : Process L2A_ProcessTile-1:
SEN2COR : Traceback (most recent call last):
SEN2COR : File “C:\Anaconda2\lib\multiprocessing\process.py”, line 258, in _bootstrap
SEN2COR : self.run()
SEN2COR : File “C:\Anaconda2\lib\site-packages\sen2cor-2.2.2-py2.7.egg\sen2cor\L2A_ProcessTile.py”, line 129, in run
SEN2COR : if self.process_60() == False:
SEN2COR : File “C:\Anaconda2\lib\site-packages\sen2cor-2.2.2-py2.7.egg\sen2cor\L2A_ProcessTile.py”, line 155, in process_60
SEN2COR : return self.process()
SEN2COR : File “C:\Anaconda2\lib\site-packages\sen2cor-2.2.2-py2.7.egg\sen2cor\L2A_ProcessTile.py”, line 212, in process
SEN2COR : if(ac.process() == False):
SEN2COR : File “sen2cor\L2A_AtmCorr.py”, line 3284, in sen2cor.L2A_AtmCorr.L2A_AtmCorr.process (L2A_AtmCorr.c:66616)
SEN2COR : File “sen2cor\L2A_AtmCorr.py”, line 8940, in sen2cor.L2A_AtmCorr.L2A_AtmCorr.rho_retrieval_step1 (L2A_AtmCorr.c:198859)
SEN2COR : TypeError: ‘int’ object has no attribute ‘getitem’