L1C to L2A: sen2cor

Dear all,

I´m trying to use sen2cor with Level1C products, but I keep getting error message `The tool executable does not exist. Please specify the location of an existing executable´. I´ve have installed it through plugin option. Help…

Tnx,
Milos

P.S. SNAP is completely new stuff for me, so any information, tutorial, advice would be helpful.
P.P.S. Is it possible to get Sentinel-2 Level1B products somehow?

1 Like

The Sen2Cor is an external Tool that needs to be installed independently from SNAP.

Sen2Cor binaries can be downloaded from http://s2tbx.telespazio-vega.de/sen2cor/sen2cor-2.0.3.zip
At the root of the archive, the SETUP.pdf file contains instructions to install the Sen2Cor. Once it is installed you should be able to launch it. Please come back to us if you encounter any problem.

Dear Nicolas,

I have downloaded Sen2Cor from the link you gave me. I have followed the instructions, but in the last step when I call the processor via “L2A_Process --help” I get this message:
ImportError: DLL load failed: The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log or use the command-line sxstrace.exe tool for more detail.
What shall I do?

Regards,
Milos

Dear Milos,

I created an issue on JIRA: https://senbox.atlassian.net/browse/SIITBX-110
Your problem is probably due to missing or corrupted Microsoft Visual C++ distributable 2008 64 bits on your system. Could you try to download and install it from http://www.microsoft.com/en-us/download/details.aspx?id=2092?

Regards,
Nicolas.

Dear Nicolas,

I have tried but it didn´t wok. It still gives the same error.
I have installed it once again from the very beginning and now when I try to run the process first it gives me an information about not being able to find Sen2Cor-post-template.vm. And after pressing OK button again the same message about DLL.
Any other idea?

Regards,
Milos

Dear Milos,

At this stage the L2A product is generated and can be opened by SNAP, the generated product is at the same level as the L1C product used for the generation.

There is two bugs here:

Dear Nicolas,

Is Sen2Cor working in 2.0 beta-07 version of S2toolbox? I´ve downloaded it from the web page you gave me http://s2tbx.telespazio-vega.de/sen2cor/sen2cor-2.0.3.zip and installed it by SETUP.pdf instructions (no errors occurred)
but I can´t even find it as a tool in SNAP in the end. Even when I tried to installed it using plugin option, I couldn´t find sen2cor. In the menu bar under Optical\Thematic Land Processing I have only NDVI Processor, nothing else.
Do you have any clue?

Regards,
Milos

Dear Milos,

Yes Sen2Cor should work with the beta-7, but if you uninstalled it with SNAP folder you have to re-install it from the plugin repository. Be aware the Sen2Cor don’t perform very well on the latest product, this is currently being fixed (see https://senbox.atlassian.net/browse/SIITBX-113).

Regards,
Nicolas.

A workaround is possible even with the current Version of Sen2Cor (2.0.3).
In the file ‘L2A_GIPP.xml’: simply change the value of DN_Scale to 2000.

L2A_GIPP is located in the sen2cor/cfg user directory.
See new attached image: S2A_USER_PVI … in https://senbox.atlassian.net/browse/SIITBX-113

Hi Uwe,

Thanks for your remark! I tried it and the results look different, but still not right for me.

Original:

Processed:

I agree. This does not look as expected. Look in the folder: L2A_USER_(your product)/GRANULE/S2A_USER_MSI_L2A_TL_MTI__20150813T201603_A000734_T32TQR_N01.03/QI_DATA/S2A_USER_PVI_L2A_TL_MTI__20150813T201603_A000734_T32TQR.jp2

It is located in parallel to your L1C input folder. There you will find an RGB preview which shows what the processor itself is generating. Apparently, there is also a rescaling problem if opened via the toolbox. So you have to wait for the fix I’m preparing …

Hi Uwe,

You are right, this image looks correct!

Thank you for your help, then I will wait for the updated Versions of Sen2Cor and SNAP/s2tbx!

Regards from Austria
Mischa

Hi, pandza

Have u correct TOA to BOA successfully?
can you teach me how to do ? I have no idea about this.

Hey,
Yes I have.
Have you checked the manual, part 3. Configuration and Installation? You should just follow the instructions.

1 Like

yes. I have configured it, and run .
the result is as followed:

it did not show the output.

my email: chexh.15b@gmail.com

can u communicate with email?

Hi, pandza

I install Sen3Cor as suggested this video https://www.youtube.com/watch?v=njS1iQPIOGU&feature=youtu.be