ESA started publishing L1C assets with product baseline of 05.11 today: Deployment of Sentinel-2 Processing Baseline in version 05.11 on 23 July - Sentinel Online
With an older version of sen2cor (I’ll edit to add the exact version later), sen2cor fails to process those scenes with the message Product metadata file cannot be read
.
I’ve tried to use sen2cor 2.11.0 (which I think is the newest version) and it fails with this output:
wrong identifier for xml structure.
unspecific error in metadata
wrong identifier for xml structure.
error in copying metadata files to target product
Sen2Cor. Version: 02.11.00, created: 2022.10.20, supporting Level-1C product version 14.2 - 14.9 started ...
Product version: 15.0
Operation mode: TOOLBOX
Processing baseline: 05.11
Progress[%]: 0.00 : Generating datastrip metadata
unspecific error in metadata
Incorrect datastrip L1C xml format
Traceback (most recent call last):
File "/scripts/sen2cor", line 98, in <module>
main()
File "/scripts/sen2cor", line 82, in main
l2a_item = pc_onboarding.sentinel2.process_l2a_item(
File "/scripts/pc_onboarding/sentinel2/_s2.py", line 1726, in process_l2a_item
l2a_item = do_l2a(
File "/scripts/pc_onboarding/sentinel2/_s2.py", line 1384, in do_l2a
l2a_jp2000_path = run_sen2cor(
File "/scripts/pc_onboarding/sentinel2/_s2.py", line 1138, in run_sen2cor
run_subprocess(args, env=env)
File "/scripts/pc_onboarding/sentinel2/_s2.py", line 1223, in run_subprocess
raise err
pc_onboarding.sentinel2._s2.CalledProcessErrorWithOutput: CalledProcessError command=['/Sen2Cor/Sen2Cor-02.11.00-Linux64/bin/python2.7', '-s', '/Sen2Cor/Sen2Cor-02.11.00-Linux64/lib/python2.7/site-packages/sen2cor/L2A_Process.py', '/data/l1c/S2A_MSIL1C_20240723T121641_N0511_R123_T24FVF_20240723T170119.SAFE/', '--output_dir', '/data/l2a/jp2000/', '--processing_baseline', '05.11', '--processing_centre', 'MSFT', '--debug', '--GIP_L2A', '/root/sen2cor/2.11/cfg/L2A_GIPP.xml'] returncode=1 stdout=wrong identifier for xml structure.
unspecific error in metadata
wrong identifier for xml structure.
error in copying metadata files to target product
Sen2Cor. Version: 02.11.00, created: 2022.10.20, supporting Level-1C product version 14.2 - 14.9 started ...
Product version: 15.0
Operation mode: TOOLBOX
Processing baseline: 05.11
Progress[%]: 0.00 : Generating datastrip metadata
unspecific error in metadata
Incorrect datastrip L1C xml format
stderr=Traceback (most recent call last):
File "/Sen2Cor/Sen2Cor-02.11.00-Linux64/lib/python2.7/site-packages/sen2cor/L2A_Process.py", line 734, in <module>
sys.exit(main())
File "/Sen2Cor/Sen2Cor-02.11.00-Linux64/lib/python2.7/site-packages/sen2cor/L2A_Process.py", line 679, in main
L2A_TILES = config.updateTiles()
File "/Sen2Cor/Sen2Cor-02.11.00-Linux64/lib/python2.7/site-packages/sen2cor/L2A_Config.py", line 4015, in updateTiles
if self.create_L2A_Tile():
File "/Sen2Cor/Sen2Cor-02.11.00-Linux64/lib/python2.7/site-packages/sen2cor/L2A_Config.py", line 4040, in create_L2A_Tile
self.getEntriesFromDatastrip()
File "/Sen2Cor/Sen2Cor-02.11.00-Linux64/lib/python2.7/site-packages/sen2cor/L2A_Config.py", line 3968, in getEntriesFromDatastrip
self.spacecraftName = di.SPACECRAFT_NAME.text
AttributeError: 'bool' object has no attribute 'SPACECRAFT_NAME'
Is there a list of sen2cor versions that should be compatible with the new processing baseline?