Hello
For 10m resolution, all four rules RECENT, TEMPORAL, RADIOMETRIC and, AVERAGE failed entirely when I used my own selected test imagery from 2016 and 2017 downloaded for the USGS Earth Explorer site.
What I thought as interesting is that the same 2016 tiles from the USGS site, I also downloaded from the ESA Copernicus site.
These tiles, despite apparently being the same, processed successfully for TEMP_HOMOGENEITY and AVERAGE but were unsuccessful for RECENT and RADIOMETRIC_QUALITY.
A different set of tiles from ESA Copernicus from 2017 gave the sam errors as the 2016 tiles.
Error received for 2016 and 2017 imagery acquired from Copernicus, yet still successful for TEMP_HOMOGENEITY and AVERAGE:
Progress[%]: 87.07 : PID-6568, L2A_Tables: stop export, elapsed time[s]: 0.146, total: 0:24:41.424000
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 ‘FORMAT_CORRECTNESS_FLAG’: This element is not expected. Expected is ( SENSOR_QUALITY_FLAG ).
[ERROR] L2A_XmlParse: 121 Details: Element ‘FORMAT_CORRECTNESS_FLAG’: This element is not expected. Expected is ( SENSOR_QUALITY_FLAG ).
Parsing error:
Schema file: S2-PDGS-TAS-DI-PSD-V14.2_Schema\S2_User_Product_Level-2A_Metadata.xsd
Details: Element ‘FORMAT_CORRECTNESS_FLAG’: This element is not expected. Expected is ( SENSOR_QUALITY_FLAG ).
Progress[%]: 100.00 : Application terminated successfully.
Operation mode PDGS is not supported for Product version 14.2.
Operation mode will be reset to TOOLBOX.
Error received for 2016 and 2017 imagery acquired from Copernicus and UNsuccessful for RADIOMETRIC_QUALITY and RECENT:
Progress[%]: 31.85 : PID-2844, L2A_Tables: stop export, elapsed time[s]: 0.328, total: 0:38:28.549000
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 ‘FORMAT_CORRECTNESS_FLAG’: This element is not expected. Expected is ( SENSOR_QUALITY_FLAG ).
[ERROR] L2A_XmlParse: 121 Details: Element ‘FORMAT_CORRECTNESS_FLAG’: This element is not expected. Expected is ( SENSOR_QUALITY_FLAG ).
Parsing error:
Schema file: S2-PDGS-TAS-DI-PSD-V14.2_Schema\S2_User_Product_Level-2A_Metadata.xsd
Details: Element ‘FORMAT_CORRECTNESS_FLAG’: This element is not expected. Expected is ( SENSOR_QUALITY_FLAG ).
Progress[%]: 100.00 : Application terminated successfully.
Progress[%]: 50.99 : Traceback (most recent call last):
File “C:\Users\colin\Anaconda2\Scripts\L3_Process-script.py”, line 11, in
load_entry_point(‘sen2three==1.1.0’, ‘console_scripts’, ‘L3_Process’)()
File “C:\Users\colin\Anaconda2\lib\site-packages\sen2three-1.1.0-py2.7.egg\sen2three\L3_Process.py”, line 265, in main
processor = doTheLoop(config)
File “C:\Users\colin\Anaconda2\lib\site-packages\sen2three-1.1.0-py2.7.egg\sen2three\L3_Process.py”, line 202, in doTheLoop
proc, result = processor.process(tables)
File “C:\Users\colin\Anaconda2\lib\site-packages\sen2three-1.1.0-py2.7.egg\sen2three\L3_Process.py”, line 102, in process
if(self.l3Synthesis.process(self._tables) == False):
File “C:\Users\colin\Anaconda2\lib\site-packages\sen2three-1.1.0-py2.7.egg\sen2three\L3_Synthesis.py”, line 642, in process
self.preProcessing()
File “C:\Users\colin\Anaconda2\lib\site-packages\sen2three-1.1.0-py2.7.egg\sen2three\L3_Synthesis.py”, line 588, in preProcessing
self.setPixelMasks()
File “C:\Users\colin\Anaconda2\lib\site-packages\sen2three-1.1.0-py2.7.egg\sen2three\L3_Synthesis.py”, line 199, in setPixelMasks
if self.isMoreRecent():
File “C:\Users\colin\Anaconda2\lib\site-packages\sen2three-1.1.0-py2.7.egg\sen2three\L3_Synthesis.py”, line 267, in isMoreRecent
prdMinTime = time.mktime(datetime.strptime(prdMinTimeS,’%Y%m%dT%H%M%S’).timetuple())
File “C:\Users\colin\Anaconda2\lib_strptime.py”, line 332, in _strptime
(data_string, format))
ValueError: time data ‘160620T173345.S’ does not match format ‘%Y%m%dT%H%M%S’
Error recieved for 2016 and 2017 imagery downloaded from the USGS Earth Explorer site:
Progress[%]: 79.63 : Traceback (most recent call last):
File “C:\Users\colin\Anaconda2\Scripts\L3_Process-script.py”, line 11, in
load_entry_point(‘sen2three==1.1.0’, ‘console_scripts’, ‘L3_Process’)()
File “C:\Users\colin\Anaconda2\lib\site-packages\sen2three-1.1.0-py2.7.egg\sen2three\L3_Process.py”, line 265, in main
processor = doTheLoop(config)
File “C:\Users\colin\Anaconda2\lib\site-packages\sen2three-1.1.0-py2.7.egg\sen2three\L3_Process.py”, line 202, in doTheLoop
proc, result = processor.process(tables)
File “C:\Users\colin\Anaconda2\lib\site-packages\sen2three-1.1.0-py2.7.egg\sen2three\L3_Process.py”, line 102, in process
if(self.l3Synthesis.process(self._tables) == False):
File “C:\Users\colin\Anaconda2\lib\site-packages\sen2three-1.1.0-py2.7.egg\sen2three\L3_Synthesis.py”, line 642, in process
self.preProcessing()
File “C:\Users\colin\Anaconda2\lib\site-packages\sen2three-1.1.0-py2.7.egg\sen2three\L3_Synthesis.py”, line 588, in preProcessing
self.setPixelMasks()
File “C:\Users\colin\Anaconda2\lib\site-packages\sen2three-1.1.0-py2.7.egg\sen2three\L3_Synthesis.py”, line 155, in setPixelMasks
scl2A[(scl03 == medProbaClouds) & (scl2A == highProbaClouds)] = medProbaClouds
TypeError: ‘bool’ object does not support item assignment
The 2016 tiles I used from both USGS and Copernicus sites are:
S2A_MSIL1C_20160610T174002_N0202_R055_T14UMA_20160610T174002.SAFE
S2A_MSIL1C_20160610T174002_N0202_R055_T14UNA_20160610T174002.SAFE
S2A_MSIL1C_20160620T172902_N0204_R055_T14UNA_20160620T173345.SAFE
S2A_MSIL1C_20160623T175002_N0204_R098_T14UNA_20160623T174956.SAFE
The 2017 tiles used from Copernicus site:
S2A_MSIL1C_20170705T172901_N0205_R055_T14UNA_20170705T173502.SAFE
S2A_MSIL1C_20170718T173901_N0205_R098_T14UNA_20170718T174646.SAFE
S2A_MSIL1C_20170725T172901_N0205_R055_T14UNA_20170725T173410.SAFE
S2B_MSIL1C_20170713T173909_N0205_R098_T14UNA_20170713T174714.SAFE
S2B_MSIL1C_20170720T172859_N0205_R055_T14UNA_20170720T173528.SAFE