SAGA-GIS Tool Library Documentation (v8.1.0)

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

 NameTypeIdentifierDescriptionConstraints
InputInputGrid, inputINPUTThis must be your input data of type grid.-
Mask GridGrid, inputMASKThis grid indicates the cells you want calculate the average.-
OutputAWM2 GridGrid, outputRESULTNew grid filtered with the AvWiMa2 tool-
OptionsGrid SystemGrid systemPARAMETERS_GRID_SYSTEM--
Mask valueFloating pointVValue of right cells in the Mask GridDefault: 1.000000
Radius XIntegerRX-Minimum: 1
Default: 1
Radius YIntegerRY-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