Have been using Sen2Cor to perform atmospheric correction on Sentinel-2 images. The plugin is accessed using Tools> Manage External Tools>Sen2Cor280> Run.
Since 24th September 2021, the last update caused some error with Sen2Cor; we have the option to select the processing parameters but the plug in does not run.
Do you have an idea of how to resolve this problem?
Thanks in advance
I am also having the same problem. I keep getting a SPACECRAFT NAME error on the log files. Hopefully someone can steer us in the right direction soon…
Hi there! Also having problems with Sen2Cor (in both versions…), the pluggin doesn’t run.
I tried to re-install both the pluggin and the app, also tried with different images if it was an error in the image, tried too with a subset and with a complete image…but still doesn’t work.
Hello,
First of all, I want to understand if you have errors while running Sen2Cor 2.8.0 from SNAP Menu or if you don’t manage to run it at all. Please describe the behavior.
Second, the issue with SPACECRAFT_NAME is not related with SNAP plugin adapter itself, from the discussions in the past I remember it was caused by a GIPP file misconfiguration.
(the error is very general and usually not telling the real cause)
There are newer versions of Sen2Cor, last version is 2.10
Maybe using a newer version will solve the problem, like @Jan indicated here:
Running Sen2Cor280 in SNAP 8, without changing the parameters, it works without any issues. But I am not a Sen2Cor developer, nor user (just the SNAP integrator )
Hello @snaojee@barala,
After trying every possible solution, I finally could make it work. However, I am unsure whether it is the best possible solution, and I did not validate the results. So be aware!
What I did was to copy the all the context from:
C:\Users"YOUR USERNAME".snap\auxdata\Sen2Cor-02.08.00-win64
and paste it to
C:\Users"YOUR USERNAME"\Documents\sen2cor
In addition to that, you may also want to try the solutions provided on:
It is also worth noting that, unlike the SNAP software, which is capable of reading images as ZIP files, the Sen2Cor module has some difficulties reading ZIP files, so it might be better to extract the files and select the metadata (MTD_MSIL1C.xml) as the input.
Yet, if all of those didn’t work, you still have the option to run the stand-alone sen2cor program, but that might be cumbersome because of all the codings in cmd.