[GIS] sen2cor 2.4.0 on SNAP 6.0

sen2corsentinel-2sentinel-snap

Apparently, the new released SNAP 6.0 allows the sen2cor plugin to be installed and run directly within the SNAP. Indeed, SNAP installs the bundle when try to run it.

However, it doesn't work for me. Although a new folder is generated (S2A_MSIL1A…from the S2A_MSIL1C), the folder does not contain the corrected bands.

Is there anyone that succeeded with it without using Anaconda nor the standalone sen2cor tool?

I enter the image through the MTD_MSIL1C file within the download folder S2A_MSIL1C_…

Then I run the sen2cor and a new folder is generated named S2A_MSIL2A_…

But inside the latter folder I just have two empty folders: AUX_DATA and DATASTRIP

Any suggestion?

enter image description here

Best Answer

How did you install Sen2cor? Did you follow this procedure?

I installed SNAP v 6.0 and download Sen2cor 2.4 stand-alone installer follow the procedure mentioned in STEP forum. I've set environmental variables in SNAP too, it's the most important part to be successful:

enter image description here

enter image description here

I was careful, but setting could be:

  • SEN2COR_HOME = $USER_HOME
  • SEN2COR_BIN = $SEN2COR_HOME/bin or $SEN2COR_HOME\bin in Windows
  • SEN2COR_EXE = $SEN2COR_BIN/L2A_Process or $SEN2COR_BIN\L2A_Process in Windows
  • USERPROFILE = ~
  • HOME = /Users/your_user in OS X, or C:\Users\your_user\ in Windows
  • USER_HOME = $HOME

With this configuration, bands are created without problem:

enter image description here

Related Question