Terrain-Mask Operator |

# Terrain-Mask Operator Description

## Overview

Name: | `Terrain-Mask`
Full name: | `org.esa.snap.raster.gpf.masks.TerrainMaskOp`
Purpose: | Terrain Mask Generation
Version: | 1.0

## Description

This operator detects mountain area using DEM and gnerates a terrain mask for given SAR image.

## Sources

Name | Description
--- | ---
`sourceProduct` |

## Parameters

Name | Data Type | Default | Description | Constraints
--- | --- | --- | --- | ---
`demName` | `String` | `SRTM 3Sec` | The digital elevation model. | value set: [ACE, ASTER 1sec GDEM, GETASSE30, SRTM 1Sec HGT, SRTM 3Sec]
`demResamplingMethod` | `String` | `NEAREST_NEIGHBOUR` |  | value set: [NEAREST_NEIGHBOUR, BILINEAR_INTERPOLATION, CUBIC_CONVOLUTION, BICUBIC_INTERPOLATION, BISINC_5_POINT_INTERPOLATION]
`externalDEMFile` | `File` | `` |  |
`externalDEMNoDataValue` | `double` | `0` |  |
`windowSizeStr` | `String` | `15x15` |  | value set: [5x5, 7x7, 9x9, 11x11, 13x13, 15x15, 17x17]
`thresholdInMeter` | `double` | `40.0` | Threshold for detection | interval: (0, *)