LOTS of SEN2COR V2.5.5 Standalone Version Error-100000 tiles parallel processing

It is very unfortunate that I have to say Sen2Cor is such a mess to use.
Stand Alone version, 2.5.5.
Note 1. it works for some tiles but not others.
Note 2. a lot of internal errors very hard to debug. Actually, I have no idea where to start for debugging.
Note 3, type in whatever you thought can cause the problem.

Error 1:
Process L2A_ProcessTile-1:
Traceback (most recent call last):
File “/home/tq/Sen2Cor-02.05.05-Linux64/lib/python2.7/multiprocessing/process.py”, line 258, in _bootstrap
self.run()
File “/home/tq/Sen2Cor-02.05.05-Linux64/lib/python2.7/site-packages/sen2cor/L2A_ProcessTile.py”, line 122, in run
if not self.process_60():
File “/home/tq/Sen2Cor-02.05.05-Linux64/lib/python2.7/site-packages/sen2cor/L2A_ProcessTile.py”, line 148, in process_60
return self.process()
File “/home/tq/Sen2Cor-02.05.05-Linux64/lib/python2.7/site-packages/sen2cor/L2A_ProcessTile.py”, line 223, in process
if ac.process() == False:
File “L2A_AtmCorr.py”, line 3160, in L2A_AtmCorr.L2A_AtmCorr.process (L2A_AtmCorr.c:73751)
File “L2A_AtmCorr.py”, line 7463, in L2A_AtmCorr.L2A_AtmCorr.prepare_rho_retrieval (L2A_AtmCorr.c:196970)
File “L2A_AtmCorr.py”, line 7284, in L2A_AtmCorr.L2A_AtmCorr.find_vegetation_pixels_vari_a3 (L2A_AtmCorr.c:191676)
File “L2A_AtmCorr.py”, line 295, in L2A_AtmCorr.median_filter_2d (L2A_AtmCorr.c:13809)
IndexError: too many indices for array

Error 2:
Syntax error in metadata, see report file for details.
[ERROR] L2A_XmlParse: 120 Schema file: S2-PDGS-TAS-DI-PSD-V14.2_Schema/S2_User_Product_Level-2A_Metadata.xsd
[ERROR] L2A_XmlParse: 120 Schema file: S2-PDGS-TAS-DI-PSD-V14.2_Schema/S2_User_Product_Level-2A_Metadata.xsd
[ERROR] L2A_XmlParse: 121 Details: Element ‘L2A_Product_Organisation’: Missing child element(s). Expected is ( Granule_List ).
[ERROR] L2A_XmlParse: 121 Details: Element ‘L2A_Product_Organisation’: Missing child element(s). Expected is ( Granule_List ).
Parsing error:
Schema file: S2-PDGS-TAS-DI-PSD-V14.2_Schema/S2_User_Product_Level-2A_Metadata.xsd
Details: Element ‘L2A_Product_Organisation’: Missing child element(s). Expected is ( Granule_List ).

Error 3:
Process L2A_ProcessTile-1:
Traceback (most recent call last):
File “/home/tq/Sen2Cor-02.05.05-Linux64/lib/python2.7/multiprocessing/process.py”, line 258, in _bootstrap
self.run()
File “/home/tq/Sen2Cor-02.05.05-Linux64/lib/python2.7/site-packages/sen2cor/L2A_ProcessTile.py”, line 122, in run
if not self.process_60():
File “/home/tq/Sen2Cor-02.05.05-Linux64/lib/python2.7/site-packages/sen2cor/L2A_ProcessTile.py”, line 148, in process_60
return self.process()
File “/home/tq/Sen2Cor-02.05.05-Linux64/lib/python2.7/site-packages/sen2cor/L2A_ProcessTile.py”, line 229, in process
if self.postprocess() == False:
File “/home/tq/Sen2Cor-02.05.05-Linux64/lib/python2.7/site-packages/sen2cor/L2A_ProcessTile.py”, line 311, in postprocess
if not self.tables.exportBandList():
File “/home/tq/Sen2Cor-02.05.05-Linux64/lib/python2.7/site-packages/sen2cor/L2A_Tables.py”, line 2097, in exportBandList
gi1c = gr1c.attrib[‘granuleIdentifier’]
File “src/lxml/lxml.etree.pyx”, line 2452, in lxml.etree._Attrib.getitem (src/lxml/lxml.etree.c:68665)
KeyError: ‘granuleIdentifier’

Error 4:
Process L2A_ProcessTile-1:
Traceback (most recent call last):
File “/home/tq/Sen2Cor-02.05.05-Linux64/lib/python2.7/multiprocessing/process.py”, line 258, in _bootstrap
self.run()
File “/home/tq/Sen2Cor-02.05.05-Linux64/lib/python2.7/site-packages/sen2cor/L2A_ProcessTile.py”, line 126, in run
if not self.process_10():
File “/home/tq/Sen2Cor-02.05.05-Linux64/lib/python2.7/site-packages/sen2cor/L2A_ProcessTile.py”, line 183, in process_10
return self.process()
File “/home/tq/Sen2Cor-02.05.05-Linux64/lib/python2.7/site-packages/sen2cor/L2A_ProcessTile.py”, line 200, in process
if self.preprocess() == False:
File “/home/tq/Sen2Cor-02.05.05-Linux64/lib/python2.7/site-packages/sen2cor/L2A_ProcessTile.py”, line 271, in preprocess
dummy = L2A_AtmCorr(self.config, self.logger)
File “L2A_AtmCorr.py”, line 1884, in L2A_AtmCorr.L2A_AtmCorr.init (L2A_AtmCorr.c:50771)
AttributeError: ‘L2A_Config’ object has no attribute ‘sc_lp_blu’

can anyone with experience comments?
thanks

1 Like

still cannot figure it out, anyone?

anyone has processed ~100000 tiles in batch? Can you share some experience .

So there is just on one knows anything about those internal errors?

Have you solved it? I have the same problem with you,I have solved ten days,but no solution to it.If you know the solution,please help me,thanks!I am very anxious, but I don’t know how to do.