Average With Mask 2
- Author: Alessandro Perego
- Menu: Grid | Filter | Averages
Description
Average With Mask 2 calculates average for cells specified by a mask grid. However cell excluded by the mask grid are used in the average calculation for right pixels.
Parameters
|  | Name | Type | Identifier | Description | Constraints | 
|---|
| Input | Input | grid, input | INPUT | This must be your input data of type grid. | - | 
| Mask Grid | grid, input | MASK | This grid indicates the cells you want calculate the average. | - | 
| Output | AWM2 Grid | grid, output | RESULT | New grid filtered with the AvWiMa2 tool | - | 
| Options | Grid System | grid system | PARAMETERS_GRID_SYSTEM | - | - | 
| Mask value | floating point number | V | Value of right cells in the Mask Grid | Default: 1.000000 | 
| Radius X | integer number | RX | - | Minimum: 1
Default: 1 | 
| Radius Y | integer number | RY | - | Minimum: 1
Default: 1 | 
Command Line
Usage: saga_cmd contrib_perego 4 [-INPUT ] [-MASK ] [-RESULT ] [-V ] [-RX ] [-RY ]
  -INPUT: 	Input
	grid, input
  -MASK:  	Mask Grid
	grid, input
  -RESULT:	AWM2 Grid
	grid, output
  -V:  	Mask value
	floating point number
	Default: 1.000000
  -RX:    	Radius X
	integer number
	Minimum: 1
	Default: 1
  -RY:    	Radius Y
	integer number
	Minimum: 1
	Default: 1