Sen2three process fails on test data and process Sen2Cor data

Hi guys

I’m trying to process some 10m data in Indonesia using the Sen2Cor and Sen2Three tools.

The sen2three process fails with the error message below. I’ve tried various options of input data into sen2three including (in order of trying):

  • sen2cor processed single granule, from multiple dates
  • sen2cor processed all granules from multiple dates
  • sen2three test data set (error message for the test dataset below)

Platform is Windows 10, x64, conda v 4.2.9

I have the same error. Did you solve this problem?

Regards

Not as yet. I was waiting to check the latest sen2cor version to make sure the cause wasn’t incorrect l2a quality data.
Given that the test data is failing - I’m assuming the cause may be in the sen2three code. I haven’t had any time to dig into it, other than to track the source back to the quality indicators section of the product xml file.
I don’t know if this section is generated by the sen2three code, or taken from the l2a product.
Running the process a second time generates a different error, but still related to qi section of the xml.

Hi,

thanks for answer. Yesterday I did sen2three process but only for 20m resolution (10m and 60 unfortunately miss) and I don’t know how. Maybe it was caused that I try to Install Sen2Cor 2.3.0 (yesterday it doesn’t work) but today I found a resolution on a one topic and I fixed it. When I try to make Sen2Three for 3 Granules I got an error. It’s funny because error depends on resolution but funniest thing is that when I delete folder which is created after command L3_Process Path --resolution 60 or 20 (because program created this folder) and write L3_Process Path --resolution 10 , program importing a files but after import I see error
60m


20m

10m (if i don’t delete created folder problem will look the same like in 60 or 20m)

Regards

Hi,

Any solution, the same problem i process L1C to L2A all resolution with the last version 2.3.0 of sen2cor but i can’t use L3 processor, for 20 and 60 m failed immediately, instead for 10m resolution it’s started but blocked with error see below.

L3_Process /DataCenter/S2A/Output/L2A/Tiles/T33TWF-T33TXF/L2Aout --resolution 10

Sentinel-2 Level 3 Prototype Processor (SEN2THREE), 1.0.0, created: 2016.07.07 started …
Metadata file is invalid, see report file for details.
Procedure L3_Tables: start import, elapsed time[s]: 5.462
Progress[%]: 0.02 : Procedure L3_Tables: Level L3 band B02 imported, elapsed time[s]: 69.527
Progress[%]: 0.22 : Procedure L3_Tables: Level L3 band B03 imported, elapsed time[s]: 86.889
Progress[%]: 0.47 : Procedure L3_Tables: Level L3 band B04 imported, elapsed time[s]: 81.166
Progress[%]: 0.70 : Procedure L3_Tables: Level L3 band B08 imported, elapsed time[s]: 82.341
Progress[%]: 0.94 : Procedure L3_Tables: Level L3 band AOT imported, elapsed time[s]: 34.372
Progress[%]: 1.03 : Procedure L3_Tables: Level L3 band SCL imported, elapsed time[s]: 31.382
Progress[%]: 1.12 : Procedure L3_Tables: start import, elapsed time[s]: 1.283
Progress[%]: 1.13 : Procedure L3_Tables: Level L2A band B02 imported, elapsed time[s]: 23.078
Progress[%]: 1.19 : Procedure L3_Tables: Level L2A band B03 imported, elapsed time[s]: 20.606
Progress[%]: 1.25 : Procedure L3_Tables: Level L2A band B04 imported, elapsed time[s]: 20.520
Progress[%]: 1.31 : Procedure L3_Tables: Level L2A band B08 imported, elapsed time[s]: 23.500
Progress[%]: 1.38 : Procedure L3_Tables: Level L2A band AOT imported, elapsed time[s]: 28.078
Progress[%]: 1.46 : Procedure L3_Tables: Level L2A band SCL imported, elapsed time[s]: 26.551
Progress[%]: 1.54 : Procedure L3_Process: processing with resolution 10 m, elapsed time[s]: 0.019
Progress[%]: 1.54 : Procedure L3_Process: start of Pre Processing, elapsed time[s]: 0.001
Progress[%]: 1.54 : Procedure L3_Process: start of Spatio Temporal Processing, elapsed time[s]: 0.194
Progress[%]: 1.54 : Procedure L3_Synthesis: pre processing, elapsed time[s]: 0.080
Progress[%]: 1.54 : Procedure L3_Process: nr processed tiles: 4, elapsed time[s]: 0.133
Progress[%]: 1.54 : Traceback (most recent call last):
File “/home/standaruser/anaconda2/bin/L3_Process”, line 11, in
load_entry_point(‘sen2three==1.0.0’, ‘console_scripts’, ‘L3_Process’)()
File “/home/standaruser/anaconda2/lib/python2.7/site-packages/sen2three-1.0.0-py2.7.egg/sen2three/L3_Process.py”, line 248, in main
processor = doTheLoop(config)
File “/home/standaruser/anaconda2/lib/python2.7/site-packages/sen2three-1.0.0-py2.7.egg/sen2three/L3_Process.py”, line 185, in doTheLoop
proc, result = processor.process(tables)
File “/home/standaruser/anaconda2/lib/python2.7/site-packages/sen2three-1.0.0-py2.7.egg/sen2three/L3_Process.py”, line 86, in process
if(self.l3Synthesis.process(self._tables) == False):
File “/home/standaruser/anaconda2/lib/python2.7/site-packages/sen2three-1.0.0-py2.7.egg/sen2three/L3_Synthesis.py”, line 639, in process
self.preProcessing()
File “/home/standaruser/anaconda2/lib/python2.7/site-packages/sen2three-1.0.0-py2.7.egg/sen2three/L3_Synthesis.py”, line 585, in preProcessing
self.setPixelMasks()
File “/home/standaruser/anaconda2/lib/python2.7/site-packages/sen2three-1.0.0-py2.7.egg/sen2three/L3_Synthesis.py”, line 190, in setPixelMasks
self.updateL3MosaicQI(first=True)
File “/home/standaruser/anaconda2/lib/python2.7/site-packages/sen2three-1.0.0-py2.7.egg/sen2three/L3_Synthesis.py”, line 444, in updateL3MosaicQI
mqiLen = len(mqi)
TypeError: object of type ‘bool’ has no len()

thanks

L3_GIPP.xml (2.5 KB)