Error Sen2cor

Dear all,

I have successfully install the Sen2Cor 2.5.5 version. I tried processing the Sentinel-2 L1C data. But there are some mistakes.

Error warning: It seem there was en error on execution or the defined tool output error pattern was found. Please consult the SNAP log file.

In log file: Sentinel-2 Level 2A Processor (Sen2Cor). Version: 2.5.5, created: 2018.03.19, supporting Level-1C product version <= 14.5 started …
Product version: 14.5. Operation mode: PDGS.Syntax error in metadata, see report file for details.
[ERROR] L2A_XmlParse: 120 Schema file: L2A_GIPP.xsd
[ERROR] L2A_XmlParse: 120 Schema file: L2A_GIPP.xsd
[ERROR] L2A_XmlParse: 121 Details: Element ‘Nr_Processes’: This element is not expected. Expected is ( Operation_Mode ).
[ERROR] L2A_XmlParse: 121 Details: Element ‘Nr_Processes’: This element is not expected. Expected is ( Operation_Mode ).
Parsing error:
Schema file: L2A_GIPP.xsd
Details: Element ‘Nr_Processes’: This element is not expected. Expected is ( Operation_Mode ).
Traceback (most recent call last):
File “C:\Sen2Cor-02.05.05-win64\Lib\site-packages\sen2cor\L2A_Process.py”, line 354, in
sys.exit(main())
File “C:\Sen2Cor-02.05.05-win64\Lib\site-packages\sen2cor\L2A_Process.py”, line 301, in main
result = config.readPreferences()
File “C:\Sen2Cor-02.05.05-win64\Lib\site-packages\sen2cor\L2A_Config.py”, line 4157, in readPreferences
par = node.Generate_DEM_Output
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: Generate_DEM_Output
Finished tool execution in 1 seconds

Could any one please see the error below and tell me how can I fix this error?

Thank you so much.

I also get AttributeErrors but they can be different. e.g: AttributeError: 'L2A_Tables' object has no attribute '_L2A_Tile_PVI_File'
Tested on Windows 10, Windows Server 2012 and Ubuntu 16.04

I encountered the same error, I hoped I had solved it by upgrading Anaconda but I was wrong. Did anyone else solve this issue?

same problem here.
Sen2cor 2.05.05 on Windows 10 x64.
Anaconda installed.

Any solution?

I have the same problem using Sen2cor 2.5.5 on LINUX and the following as well:

Progress[%]: 7.81 : PID-151474, L2A_Tables: band ASP imported, elapsed time[s]: 7.408, total: 0:03:07.704653
[ERROR] L2A_Tables: 1427 ESA CCI Water Bodies map not present, water detection will be performed without a priori information
[ERROR] L2A_Tables: 1427 ESA CCI Water Bodies map not present, water detection will be performed without a priori information
[ERROR] L2A_Tables: 1481 ESA CCI Land Cover map not present, cloud detection over urban areas will be performed without a priori information
[ERROR] L2A_Tables: 1481 ESA CCI Land Cover map not present, cloud detection over urban areas will be performed without a priori information
[ERROR] L2A_Tables: 1558 ESA CCI Snow Condition map not present, no snow map post-processing will be done
[ERROR] L2A_Tables: 1558 ESA CCI Snow Condition map not present, no snow map post-processing will be done

Different problems are mixed in this post.

leminhhang81:
You are working in PDGS-mode. I recommend processing in TOOLBOX-mode. Few more details you find in post Sen2cor 2.5.5 - No such file _PVI.jp2

unnic, gabro, batalhadematos:
With regard to the PVI-file problem please look to post Error Sen2cor or to the same as leminhhang81.

ardo: It looks like you haven’t downloaded and installed the CCI-files. Please download the S2-PDGS-MPC-L2A-SUM-V2.5.5_V2.pdf file from the Sen2Cor download page. There is now an updated version explaining what to do for this.

Dear @marpet and others,
Do we have a solution for 10m issue?
Please help us.
Regards
sherin

Sorry, I have no idea. I’m not involved in the development or the maintenance of sen2cor.
So I can’t help with this.

Maybe @umwilm or @jerome can?

I have encountered the similar error when i accidentally given wrong path for the SEN2COR_BIN, in my case i provided the path of 2.8 version while i was running the 2.5 versio. so given the correct path this time it worked. one thing to be noted here is that there are different versions of sen2cor and on different os. so providing the right path is the key

i followed this one Sen2cor (detailled instructions) for correct installation.