Create Land Mask |

### Create Land Mask

The Create Land Mask operation will turn any pixels on land into no data value. If the "preserve land" check box is set to true then all land pixels will be preserved and all ocean pixels will be set to no data value.

The operator will automatically download a course SRTM 5 minute DEM the first time it is used. This DEM is used to very quickly determine if a pixel is on land or in the ocean.

Alternatively, a geometry from the product could also be used. This could be a user create ROI or an imported Shape file.

The following parameters are used by the operator:

1. Source Band: All bands (real or virtual) of the source product. User can select one or more bands.
2. Mask the Land: Checkbox indicating that land pixels will become nodata value.
3. Mask the Sea: Checkbox indicating that sea pixels will become nodata value.
4. Use Geometry as Mask: Select a geometry or ROI from the product to use as the mask. Anything outside the area will be nodata value.
5. Invert Geometry: Anything inside the ROI or geometry will be nodata value.
6. shorelineExtension: Extend the shoreline by this many pixels.

Note : In case of multi-size source product, use resampling processor before the land sea mask operator. Or use the default graph 'Raster/Land Sea Mask For Multi-size Source.xml' in graph builder.