Sen2cor 2.11 Snap 9

Hello, I am running the latest version of SNAP 9 and sen2cor 2.11 on a sentinel-2 Level-1C image, downloaded from ESA’s data hub, to obtain a Level2-A, but I have this error:

C:\Users\Admin\Downloads\Sen2Cor-02.11.00-win64> L2A_Process.bat
The directory or file cannot be created.
The directory or file cannot be created.
Invalid path
0 File(s) copied
usage: [-h] [–mode MODE] [–resolution {10,20,60}]
[–datastrip DATASTRIP] [–tile TILE]
[–output_dir OUTPUT_DIR] [–work_dir WORK_DIR]
[–img_database_dir IMG_DATABASE_DIR]
[–res_database_dir RES_DATABASE_DIR]
[–processing_centre PROCESSING_CENTRE]
[–archiving_centre ARCHIVING_CENTRE]
[–processing_baseline PROCESSING_BASELINE] [–raw]
[–tif] [–sc_only] [–sc_classic] [–sc_cog]
[–cr_only] [–debug] [–GIP_L2A GIP_L2A]
input_dir error: too few arguments

Hello Daniela.

What were the arguments passed to L2A_Process? In your post I don’t see the input product path.
Since the rest of the arguments are optional, it should have been, at minimum:

L2A_Process.bat <path_to_the_L1C_product>

For example, using your paths:

C:\Users\Admin\Downloads\Sen2Cor-02.11.00-win64\L2A_Process.bat C:\Users\Admin\Downloads\S2A_MSIL1C_20220903T092601_N0400_R136_T34TFP_20220903T113021.SAFE

It doesn’t work with the path, and the the same error appears “The directory or file cannot be created.”

I have just downloaded the zip package, extracted it in the downloads folder (to keep your scenario) and it works. Here’s the invocation and the output: