Sen2Cor Produce just part of L1C image

Hello Daniel

You can find the answer to your quesiton in the following topic:
sen2cor

If you want to run your directly in the command window:

  1. Type cmd in the search field and choose cmd.exe
  1. Type e.q. L2A_Process --resolution 20 C:<path to your S2 main directory> and klick Enter.

If you would like to use it in a python script (e.g. if you have multiple files you need to process), then you could add the following prompts into your script:

import os
cmd = 'L2A_Process --resolution 20 C:/S2/S2A_OPER_PRD_M..._20151211T084342'
os.system(cmd)

If you wish, then I could provide you with a script.

I hope this helps.
Cheers,
Andreas

2 Likes