I wrote a routine which allows the input of multiple Sentinel-2 products. Next, the script runs through the folder structure and search for those tiles/granules which are part of my area of investigation.
But when I have stored the name of the first granule I’d like to process, the process won’t start…
As explanation: ‘UPB’ contains the name of the granule S2A_OPER_MSI_L1C_TL_SGS__20151207T160946_A002393_T32UPB_N02.00.
I enter this command in my Python script:
L2A_Process UPB --resolution 10
For some reason I get the message: ‘SyntaxError: Invalid Syntax’. But the syntax is right, isn’t it?
Is it possible to run L2A_Process from within Python or is it necessary to call L2A_Process from the Win Command Line (in my case)?