I’m trying to use sen2cor. I’ve installed SNAP today, and then tried to install sen2cor according to the setup.pdf, including installing anaconda. I’ve then installed through tools>plugins in SNAP, however when I try and run it on an image, I get an error that SEN2COR_HOME and SEN2COR_BIN are not set?
SEN2COR_HOME and SEN2COR_BIN are defined in the System Variables section of the adapter editor. The adapter editor should open right after you have the message saying SEN2COR_HOME and SEN2COR_BIN are not set.
working with the beta8 version I was facing the same problem as hek17.
Unfortunately, I am unable to edit the SEN2COR_BIN value in the “adapter editor” (it always returns to an empty cell after editing).
I also found that the GDAL_DATA location indicated in the SETUP.pdf (by telespazio) does not correspond with L2A_Bashrc setting.
SETUP.pdf
GDAL_DATA: this is a pointer to the directory
where the GDAL coordinate system info is stored. This is located
in the “site-packages/osgeo/data/gdal” folder of Anaconda. Do not
change this. L2A_Bashrc
export GDAL_DATA=/Users/wulf/anaconda/share/gdal
Your problem with SEN2COR_BIN is a known issue (see https://senbox.atlassian.net/browse/SNAP-292). It will be fixed in the next version, for the moment you will have to edit the .snap/etc/snap.properties file in your home directory.
I don’t know about the GDAL_DATA location but you shouldn’t need to change this. May be @umwilm has an idea.
dear User,
the entry given in the L2A_Bashrc for GDAL_DATA is the correct one. The sentence in the setup.pdf is wrong. I will update the setup.pdf with the correct information. Thank you for pointing to that issue.