Processor Description - S2 MCI |

### User Interface

The S2 MCI processor can be invoked from the menu by selecting Processing->Thematic Water Processing->S2 MCI Processor.... On the command line the MCI processor is available by means of the Graph Processing Tool `gpt` which is located `bin` folder within the installation directory. Typing `gpt Mci.s2 -h` displays further information.

Selecting the S2 MCI Processor command from the menu pops up the following dialog:

##### Source Product Group

Source product: Here the user specifies the source product. The combo box presents a list of all products opened in the application. The user may select one of these or, by clicking on the button next to the combo box, choose a product from the file system.

##### Target Product Group

Name: Used to specify the name of the target product.

Save as: Used to specify whether the target product should be saved to the file system. The combo box presents a list of available file formats. The text field or the button next to it allow to specify a target directory.

Open in SNAP: Used to specify whether the target product should be opened in the application. When the target product is not saved, it is opened automatically.

##### Processing Parameters Panel

Preset: Select one of the available presets from the predefined list. Available presets are:

S2MSI L1C MCI
  S2 MSI maximum chlorophyll index (lower=B4, upper=B6, signla=B5)
S2MSI L2 MCI
  S2 MSI L2 (sen2cor) maximum chlorophyll index (lower=B4, upper=B6, signla=B5)

A preset selects the bands used to calculate the baseline, the signal band, the line height band and the slope band.

Lower baseline band name: The name for the lower wavelength band defining the baseline. Enter a band name or select one of the list of available bands (only available when an input product is already selected).

Upper baseline band name: The name of the upper wavelength band defining the baseline. Enter a band name or select one of the list of available bands (only available when an input product is already selected).

Signal band name: The name of the signal band, i.e. the band for which the baseline height is calculated. Enter a band name or select one of the list of available bands (only available when an input product is already selected).

Line height band name: The name of the line height band in the target product.

Generate slope parameter: Activates or deactivates calculating the slope parameter.

Slope band name: The name of the slope band in the target product (disabled when calculating the slope is deactivated)

Mask expression: A ROI-mask expression to be evaluated during processing. Used to define pixels of interest.

Cloud correction factor: The cloud correction factor used during calculation. See algorithm documentation for details.

Invalid MCI value: The value written to a target pixel when it is excluded from the ROI or the MCI calculation yields an invalid result.

##### Button Group

Run Creates the target product. The MCI processing is actually deferred until its band data are accessed, either by writing the product to a file or by viewing its band data. When the Save as option is checked, the MCI processing is triggered automatically.

Close Closes the dialog.

##### Menu Group

File The entries found in this menu allow to save the current processing parameters to disk and to open a saved parameter set from disk.

Help Contains entries for accessing the help pages and information about this processor.