Hi all,
I’m using the latest version of sen2cor 2.10.01 to create the L2A product.
I can run the process using a docker I created.
When I compare the Cloud_Coverage_Assessment value I get with sen2cor with the one of the corresponding L2A file from SciHub it results that they have different values.
For example, I’m using as an input file the following file: S2A_MSIL1C_20220411T101601_N0400_R065_T32TPT_20220411T124038.zip
when I run my docker using sen2cor using the following command
It creates the MTD_MSIL2A.xml file where I find this value:
<Cloud_Coverage_Assessment>99.999999</Cloud_Coverage_Assessment>
For the corresponding file on SciHuB: S2A_MSIL2A_20220411T101601_N0400_R065_T32TPT_20220411T135651.SAFE/MTD_MSIL2A.xml
it results: <Cloud_Coverage_Assessment>1.267885</Cloud_Coverage_Assessment>
@ABraun could you help us here? At EURAC Research we are experiencing this stange issue with the latest version of sen2cor, which prevent us from using the cloud coverage assessment value later on in our pipeline.
@Jan thanks for doing this check. I really will look forward to knowing your results.
I did various tests with a series of L1C files (one is in my initial question) and I always got the same error.
I have processed S2A_MSIL1C_20220411T101601_N0400_R065_T32TPT_20220411T124038.SAFE in Sen2Cor 02.10 in TOOLBOX mode on my Windows 7 64 Bit laptop, both with the ESACCI-LC Package (as identified in the S2-PDGS-MPC-L2A-SUM-V2.10.0 and installed in my Lib\site-packages\sen2cor\aux_data folder) and without. I used the L2A_Process.bat on the command line.
In both instances, the value of <Cloud_Coverage_Assessment> in the MTD_MSIL2A.xml is 0.099870.
File “/home/desuser/sen2cor/lib/python2.7/site-packages/sen2cor/L2A_Process.py”, line 734, in sys.exit(main())
File “/home/desuser/sen2cor/lib/python2.7/site-packages/sen2cor/L2A_Process.py”, line 568, in main if not config.setProductVersion(): File “/home/desuser/sen2cor/lib/python2.7/site-packages/sen2cor/L2A_Config.py”, line 5598, in setProductVersion if (productVersion == int(12)): UnboundLocalError: local variable ‘productVersion’ referenced before assignment
I tested also this file: S2B_MSIL1C_20220429T102549_N0400_R108_T32TMP_20220429T124017.SAFE and I got the same output.
Could you please check if you have the same error with these files?
Hi @sylar11
No. I didn’t get that at all. I processed 32TMP with Sen2Cor 02.10.01 and everything went OK: processing completed successfully - taking around 18 minutes for the Tile.