Tool Average With Mask 2
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 | V | Value of right cells in the Mask Grid | Default: 1.000000 | 
 | Radius X | Integer | RX | - | Minimum: 1 Default: 1 | 
 | Radius Y | Integer | RY | - | Minimum: 1 Default: 1 | 
Command-line
Usage: saga_cmd contrib_perego 4 [-INPUT <str>] [-MASK <str>] [-RESULT <str>] [-V <double>] [-RX <num>] [-RY <num>]
  -INPUT:<str> 	Input
	Grid, input
  -MASK:<str>  	Mask Grid
	Grid, input
  -RESULT:<str>	AWM2 Grid
	Grid, output
  -V:<double>  	Mask value
	Floating point
	Default: 1.000000
  -RX:<num>    	Radius X
	Integer
	Minimum: 1
	Default: 1
  -RY:<num>    	Radius Y
	Integer
	Minimum: 1
	Default: 1