Traceback (most recent call last):
File "C:\Anaconda3\envs\python_2_7\Scripts\L2A_Process-script.py", line 9, in <module>
load_entry_point('sen2cor==2.0.6', 'console_scripts', 'L2A_Process')()
File "C:\Anaconda3\envs\python_2_7\lib\site-packages\sen2cor-2.0.6-py2.7.egg\sen2cor\L2A_Process.py", line 283, in main
result = processor.selectAndProcess(tile)
File "C:\Anaconda3\envs\python_2_7\lib\site-packages\sen2cor-2.0.6-py2.7.egg\sen2cor\L2A_Process.py", line 83, in selectAndProcess
self.selectAndProcess(tile)
File "C:\Anaconda3\envs\python_2_7\lib\site-packages\sen2cor-2.0.6-py2.7.egg\sen2cor\L2A_Process.py", line 107, in selectAndProcess
self._processed20 = self.process()
File "C:\Anaconda3\envs\python_2_7\lib\site-packages\sen2cor-2.0.6-py2.7.egg\sen2cor\L2A_Process.py", line 148, in process
if(ac.process() == False):
File "sen2cor\L2A_AtmCorr.py", line 1379, in sen2cor.L2A_AtmCorr.L2A_AtmCorr.process (L2A_AtmCorr.c:29184)
File "sen2cor\L2A_AtmCorr.py", line 4822, in sen2cor.L2A_AtmCorr.L2A_AtmCorr.ref_pixel_wfov (L2A_AtmCorr.c:110875)
IndexError: index 915 is out of bounds for axis 1 with size 1
I noticed a new/beta version of sen2cor on the ftp (2.2.0). I set up a batch job yesterday, don’t know if it has worked yet and cant comment on the results but 4 threads seems to work. I changed the startup script so I do not have a polluted path. Less issues getting a job running than 2.0.6.
I have seen this error today on product a298bd58-5fa4-40a0-bf52-535904027a67
File "L2A_AtmCorr.py", line 6696, in L2A_AtmCorr.L2A_AtmCorr.ref_pixel_wfov (L2A_AtmCorr.c:150525) IndexError: index 1 is out of bounds for axis 1 with size 1
I have a similar error with two of the tiles I want to process:
Progress[%]: 22.22 : PID-21196, L2A_AtmCorr: end of interpolation LUTs, elapsed time[s]: 0.683
Process L2A_ProcessTile-1:
Traceback (most recent call last):
File "/home/gert/anaconda2/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap
self.run()
File "/home/gert/anaconda2/lib/python2.7/site-packages/sen2cor-2.3.0-py2.7.egg/sen2cor/L2A_ProcessTile.py", line 135, in run
if self.process_10() == False:
File "/home/gert/anaconda2/lib/python2.7/site-packages/sen2cor-2.3.0-py2.7.egg/sen2cor/L2A_ProcessTile.py", line 178, in process_10
if not self.process_20():
File "/home/gert/anaconda2/lib/python2.7/site-packages/sen2cor-2.3.0-py2.7.egg/sen2cor/L2A_ProcessTile.py", line 157, in process_20
return self.process()
File "/home/gert/anaconda2/lib/python2.7/site-packages/sen2cor-2.3.0-py2.7.egg/sen2cor/L2A_ProcessTile.py", line 223, in process
if(ac.process() == False):
File "sen2cor/L2A_AtmCorr.py", line 3177, in sen2cor.L2A_AtmCorr.L2A_AtmCorr.process (L2A_AtmCorr.c:64786)
File "sen2cor/L2A_AtmCorr.py", line 6742, in sen2cor.L2A_AtmCorr.L2A_AtmCorr.ref_pixel_wfov (L2A_AtmCorr.c:150183)
IndexError: index 2241 is out of bounds for axis 1 with size 1
And:
Progress[%]: 24.94 : PID-21254, L2A_AtmCorr: end of interpolation LUTs, elapsed time[s]: 0.651
Process L2A_ProcessTile-1:
Traceback (most recent call last):
File "/home/gert/anaconda2/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap
self.run()
File "/home/gert/anaconda2/lib/python2.7/site-packages/sen2cor-2.3.0-py2.7.egg/sen2cor/L2A_ProcessTile.py", line 135, in run
if self.process_10() == False:
File "/home/gert/anaconda2/lib/python2.7/site-packages/sen2cor-2.3.0-py2.7.egg/sen2cor/L2A_ProcessTile.py", line 178, in process_10
if not self.process_20():
File "/home/gert/anaconda2/lib/python2.7/site-packages/sen2cor-2.3.0-py2.7.egg/sen2cor/L2A_ProcessTile.py", line 157, in process_20
return self.process()
File "/home/gert/anaconda2/lib/python2.7/site-packages/sen2cor-2.3.0-py2.7.egg/sen2cor/L2A_ProcessTile.py", line 223, in process
if(ac.process() == False):
File "sen2cor/L2A_AtmCorr.py", line 3177, in sen2cor.L2A_AtmCorr.L2A_AtmCorr.process (L2A_AtmCorr.c:64786)
File "sen2cor/L2A_AtmCorr.py", line 6742, in sen2cor.L2A_AtmCorr.L2A_AtmCorr.ref_pixel_wfov (L2A_AtmCorr.c:150183)
IndexError: index 274031 is out of bounds for axis 1 with size 1
I am processing tile 31UFS of date 10th of June 2016 an 31UFS of 11th of May 2016
The error still persists in sen2cor 2.3.0
Scene: S2A_OPER_PRD_MSIL1C_PDMC_20170101T013615_R050_V20150924T090726_20150924T090726.SAFE
Granule: S2A_OPER_MSI_L1C_TL_EPA__20161231T221649_A001334_T36UUG_N02.04
@umwilm would you add this to your bug tracker please?
can you please attach your configuration? (L2A_GIPP.xml)?
I just tested the two following products:
S2A_OPER_PRD_MSIL1C_PDMC_20170101T013615_R050_V20150924T090726_20150924T090726.SAFE
Granule: S2A_OPER_MSI_L1C_TL_EPA__20161231T221649_A001334_T36UUG_N02.04
S2A_OPER_PRD_MSIL1C_PDMC_20161026T162209_R007_V20161025T090032_20161025T090032 GranuleNr: 1
The error does not occur at my test installation (I freshly installed 2.3.0 from the ESA website).
Especially I need to know the three following parameters you are using:
Aerosol_Type: (RURAL, MARITIME, AUTO)
Mid_Latitude: (SUMMER, WINTER, AUTO )
Ozone_Content: (0, f-k, t-y)
second: at wich resolution does it occur? Already at 60m or at 20m ?
third: do you use a DEM, or not?
I also did a clean install now and ran it for this scene and it still breaks:
S2A_OPER_PRD_MSIL1C_PDMC_20161026T162209_R007_V20161025T090032_20161025T090032 GranuleNr: 1
System: Ubuntu 16.10 64bit
S2C version: 2.3.0
Resolution: 20m only
Aerosol: RURAL
Mid_Latitude: SUMMER (AUTO still breaks for some scenes. I’m hoping for 2.4.0 there )
Ozone: 0
Call: L2A_Process --resolution 20 --GIP_L2A /home/myuser/ssd/L2A_GIPP.xml S2A_OPER_PRD_MSIL1C_PDMC_20161026T162209_R007_V20161025T090032_20161025T090032.SAFE
L2A_Gipp: L2A_GIPP.xml (4.5 KB)
Log file: S2A_USER_PRD_MSIL2A_PDMC_20161026T162209_R007_V20161025T090032_20161025T090032.SAFE.log (5.3 KB)
I could identify and fix the problem - there was a vector calculated, whereas a scalar should be used. This leads to the error observed under certain conditions. Additionally to this issue, the performance on cirrus must be improved, as it looks pretty bad in your samples. The problem will be fixed in version 2.4, foreseen to be released this spring.
I was indeed under the impression that cirrus correction is rather weak to non-existent in most cases.
On a similar note: I’ve never found any haze correction. Is it enabled at all in sen2cor?
No. Haze correction is not part of the baseline. Maybe implemented in a later release. Btw: the improvement of the cirrus correction is rather complex, so it is very probable that it will not be part of Version 2.4.0, which is intended to be finished soon.
Hi!
I have the Sen2cor 2.8.0, but have the same problem
“IndexError: index 2753 is out of bounds for axis 0 with size 1”
I will appreciate any help you can provide, last time I tried it worked, I don’t understand why this time appear this error.
Thanks!