Creating this topic for reference in case anyone else has a similar issue.
Following News Article 935 regarding the upcoming Processing Baseline v04.00 for Sentinel-2 products, I downloaded the L1C sample, and processed with Sen2Cor v2.9
It returned the following error:
Syntax error in metadata, see report file for details.
Schema file: S2-PDGS-TAS-DI-PSD-V14.6_Schema/S2_PDI_Level-1C_Datastrip_Metadata.xsd
Details: Element 'PRODUCT_DOI': This element is not expected. Expected is ( PROCESSING_CENTER ).
Sen2Cor 2.9.0, created: 2020.11.30, supporting Level-1C product version 14.2 - 14.6
Operation mode: TOOLBOX
Processing baseline: 99.99
Application started ...
Progress[%]: 0.00 : Generating datastrip metadata
Syntax error in metadata, see report file for details.
Schema file: S2-PDGS-TAS-DI-PSD-V14.6_Schema/S2_PDI_Level-1C_Datastrip_Metadata.xsd
Details: Element 'PRODUCT_DOI': This element is not expected. Expected is ( PROCESSING_CENTER ).
Incorrect datastrip L1C xml format
Traceback (most recent call last):
File "/home/envsys/src/Sen2Cor-02.09.00-Linux64/lib/python2.7/site-packages/sen2cor/L2A_Process.py", line 541, in <module>
sys.exit(main())
File "/home/envsys/src/Sen2Cor-02.09.00-Linux64/lib/python2.7/site-packages/sen2cor/L2A_Process.py", line 489, in main
L2A_TILES = config.updateTiles()
File "/home/envsys/src/Sen2Cor-02.09.00-Linux64/lib/python2.7/site-packages/sen2cor/L2A_Config.py", line 3821, in updateTiles
if self.create_L2A_Tile():
File "/home/envsys/src/Sen2Cor-02.09.00-Linux64/lib/python2.7/site-packages/sen2cor/L2A_Config.py", line 3846, in create_L2A_Tile
self.getEntriesFromDatastrip()
File "/home/envsys/src/Sen2Cor-02.09.00-Linux64/lib/python2.7/site-packages/sen2cor/L2A_Config.py", line 3787, in getEntriesFromDatastrip
self.spacecraftName = di.SPACECRAFT_NAME.text
AttributeError: 'bool' object has no attribute 'SPACECRAFT_NAME'
I know this has been a similar error reported elsewhere. It’s possibly indicative that Sen2Cor 2.9 doesn’t yet support this new Sentinel-2 format.
I have contacted eosupport and will publish and will publish any response here.