to call sen2cor from the command line, first thing you need to add the sen2cor to your path, please have a look at the following post, How to add up sen2cor to the path,
Also here is an example of call and implement sen2cor from the console, Navigate to the directory, where the granular is existed and then, implement L2A_ Process as below
Second thing , the adding path is correct, last issue is not correct, the sen2cor is applied to the L1_C, The L2A is already atmospheric corrected, but you could applied sen2three to the L1A if it’s needed.
Thanks for your fast reply.
I already have the SNAP 7, and I can’t run sen2cor 2.08 directly from it, so I’ll be using the command prompt directly.
My problem now is that I want to eliminate clouds from my Sentinel-2 L2A image. My advisor wants me to do it with sen2cor. I know that I can always find new images cloud-free from the scihub_copernicus website, but he wants me to figure it out based on the L2A image.Any suggestions?
Sen2Cor is a processor for Sentinel-2 Level 2A product generation and formatting; it performs the atmospheric-, terrain and cirrus correction of Top-Of- Atmosphere Level 1C input data. Sen2Cor creates Bottom-Of-Atmosphere, optionally terrain- and cirrus corrected reflectance images; additional, Aerosol Optical Thickness-, Water Vapor-, Scene Classification Maps and Quality Indicators for cloud and snow probabilities. Its output product format is equivalent to the Level 1C User Product: JPEG 2000 images, three different resolutions, 60, 20 and 10 m.
@bbtobek Have you got the solution? If yes then please share it…I am also getting same error.
When I type ‘L2A_Process.bat -h’ I get the following error:
‘import lxml.etree as ET
ImportError: DLL load failed: The specified module could not be found…’