I need help with SNAP, and basically with the Sen2Cor plug (v.2.8)
I need to do BOA correction for Sentinel-2 data from level 1C to 2A
I read that it is impossible to use Sen2Cor in SNAP in Graph builder to do it in Batch process for many scenes simultaneously,
You have to use Sen2Cor in the command-line interpreter (eg cmd in windows). Only then can you make corrections for all scenes in the directory.
Sen2Cor works for single scenes, no problem with this in my computer.
but it doesn’t work for many scenes, here comes my problem.
I’m using “for / d% i in (*) for L2A_Process.bat% i”
I have the data in a simple path, i.e. C: \ snap \ S2A_MSIL1C_20170531T100031_N0205_R122_T33TTG_20170531T100536.SAFE
but I get a message that “Product metadata file cannot be read”
please help, where could the problem be, any suggestions?
and I have a question, using Sen2Cor in SNAP, you can do correction for all resolutions simultaneously by selecting the Resolution: ALL option
From what I read, using Sen2Cor in CMD, I can only make corrections for one resolution at a time. It is suggested that you do for 60 first, then 20 and 10m. Is it true? Can’t you do it for everyone at once?
I had to search a little deeper on the net, and found a solution. There was some error in my formula,
correct is “for /d %s in (\S2A_MSIL1C *) do L2A_Process.bat %s”
it is important to use ‘%s’ and spaces accordingly. I had used “%i” before, I found that example from someone but i also found “%f”. I don’t know where the difference comes from. Important that with “%s” it works.
And in order to do for all the scenes in the directory without having to enter the file names you have to use “" at the end of the name "S2A_MSIL1C”
I have a question, using Sen2Cor in SNAP, you can do correction for all resolutions simultaneously by selecting the Resolution: ALL option
Using Sen2Cor in CMD, I can only make corrections for one resolution at a time. It is suggested to do for 60m first, then 20m and 10m. Is it true?
If I do “–resolution=10”, will the correction be for all bands and resampling to 10m immediately?
Will the correction be performed only for 10m bands and the rest of the bands will be without correction?