Sen2Water - Configuring the Sen2Water adapter in SNAP

Configuring the Sen2Water Adapter in SNAP

Install Sen2Water Processor Bundle

After installing the Adapter plugin, the actual Sen2Water processor bundle needs to be downloaded and installed too. This download is more than >2GB.

To do so, you need to go to Tools->Manage External Tools and select the Sen2Water processor and click Edit. On the left side, select the Bundle Binaries tab and click the Download and Install Now button in the lower-right.
After the installation succeeds, the processor is configured and ready to use.

Configuration Options

Usually you don't have to modify the configuration options. However, the most important options are briefly described below.

Operator Descriptor

Here the general information of the processor are provided. The name, the alias (name for gpt), the description, where the processor shall show up in the menu and other information.

Operator Descriptor

Configuration Parameters

This panel contains information on how the processor is executed. It contains the path to the executable, the working directory which shall be used and the command line parameters as velocity template. The template is parsed and evaluated before passing the parameters to the command line.

Configuration Parameters

Operator Parameters

This panel defines the parameters which are shown in the user interface and evaluated by the velocity template defined in the Configuration tab.

Operator Parameters

System Variables

The system variables define general and operating system dependent variables.

USERPROFILE Defines where the home directory of the user is.
S2WDIR This is the directory of the actual Sen2Water processor. By default, it holds the value where the bundle is installed to when you fo the download and installation with SNAP. If you have used the processor before and have installed the bundle to a different location, you can modify this variable to point to the correct location.
S2WSCRIPT The name of the script file which is invoked when the processor is started.

System Variables

Bundle Binaries

This tab has the path to the remote location where the bundle will be downloaded from. After download, it will also install the bundle. To start the process, you have to click on the Download and Install Now-button.
If you already have downloaded the bundle, you can switch to the LOCAL option specify the local path.

Bundle Binaries

NOTE
The Windows version is experimental because POLYMER does not support Windows out-of-the-box. It requires that the Microsoft C++ compiler runtime is installed.