The problem reported in this topic is an issue to the current Sen2Cor plugin (included in version 6.0.0) and impacts the Linux users. Following, I will describe here the work-around steps for this issue. This workaround will be included in the next update (probably 6.0.1) as a final solution (in that version, the users will not need to follow these steps).
So, if you have SNAP 6.0.0, please follow the steps to be able to install and use Sen2Cor module:
- go to menu Tools -> Plugins
- on the ‘Available Plugins’ tab, check the Sen2Cor plugin and click ‘Install’
- after installing the plugin, restart SNAP
- go to menu Tools -> Manage External Tools
- click the Sen2Cor line in the table, and then the edit button in the right toolbar (it is the icon with a pen and a sheet of paper)
- the Sen2Cor plugin window should be visible
- go to tab ‘System Variables’
- double-click the value of the variable SEN2COR_EXE. The edit window should be visible for the variable, change the ‘Linux value’ to ‘/bin/L2A_Process’ (it should have the same value as for MacOS). Press OK and the value will be changed in the ‘System variables’ tab
- double-click the value of the variable USERPROFILE. The edit window should be visible for the variable, change the ‘Linux value’ to ‘/home/[your_user_name]’ (replace [your_user_name] with your user on the Linux machine and remove the brackets). Press OK and the value will be changed in the ‘System variables’ tab
- double-click the value of the variable Sen2COR_HOME. Edit the value with an existing working directory, where the Sen2Cor plugin can create temporary files. Your current user must have full privileges in that working directory.
- go to tab ‘Bundle Binaries’, click the […] button (edit button) in the right of the ‘Arguments’ value. The edit arguments form should be visible, fill in the content of the template as follows:
- click the button ‘OK’ and the editing form will close
- back to the plugin window, click ‘OK’ to save the changes to the plugin
- run the Sen2Cor plugin (either from the menu or from the external tools table) and agree with the bundle installation
That should be all. I tested it on my Linux machine. If someone else is testing it, please confirm that this is working on other machines.