Hi everyone,
I installed Sen2Cor 2.9 on SNAP 9.0 on Windows 11 system. But Sen2Cor fail, I keep getting a “AttributeError: no such child: Region_Of_Interest” on the log files.
Syntax error in metadata, see report file for details.
Schema file: L2A_GIPP.xsd
Details: Element ‘Nr_Threads’: This element is not expected. Expected is ( Region_Of_Interest ).
Traceback (most recent call last):
File “C:\Users.snap\auxdata\Sen2Cor-02.09.00-win64\Lib\site-packages\sen2cor\L2A_Process.py”, line 541, in
sys.exit(main())
File “C:\Users.snap\auxdata\Sen2Cor-02.09.00-win64\Lib\site-packages\sen2cor\L2A_Process.py”, line 387, in main
if not config.readPreferences():
File “C:\Users.snap\auxdata\Sen2Cor-02.09.00-win64\Lib\site-packages\sen2cor\L2A_Config.py”, line 4654, in readPreferences
subnode = node.Region_Of_Interest
File “src/lxml/lxml.objectify.pyx”, line 229, in lxml.objectify.ObjectifiedElement.getattr (src\lxml\lxml.objectify.c:3835)
File “src/lxml/lxml.objectify.pyx”, line 450, in lxml.objectify._lookupChildOrRaise (src\lxml\lxml.objectify.c:6539)
AttributeError: no such child: Region_Of_Interest
Finished tool execution in 0 seconds
The file is S2A_MSIL1C_20210421T160901_N0300_R140_T16QEJ_20210421T231254
Do you have an idea of how to resolve this problem?
Thanks in advance