Tool Close One Cell Gaps
Closes one cell gaps using the arithmetic mean, median, majority or minority value of the surrounding cell values. If the target is not set, the changes will be stored to the original grid. 
- Author: O.Conrad (c) 2001
 
- Menu: Grid|Gaps
 
Parameters
|   | Name | Type | Identifier | Description | Constraints | 
| Input | Grid | grid, input | INPUT | - | - | 
| Output | Changed Grid (*) | grid, output, optional | RESULT | - | - | 
| Options | Grid System | grid system | PARAMETERS_GRID_SYSTEM | - | - | 
 | Neighbourhood | choice | MODE | Neumann: the four horizontally and vertically neighboured cells; Moore: all eight adjacent cells | Available Choices: [0] Neumann [1] Moore Default: 1 | 
 | Value | choice | METHOD | - | Available Choices: [0] arithmetic mean [1] median [2] majority [3] minority Default: 0 | 
| (*) optional | 
Command-line
Usage: saga_cmd grid_tools 6 [-INPUT <str>] [-RESULT <str>] [-MODE <str>] [-METHOD <str>]
  -INPUT:<str> 	Grid
	grid, input
  -RESULT:<str>	Changed Grid
	grid, output, optional
  -MODE:<str>  	Neighbourhood
	choice
	Available Choices:
	[0] Neumann
	[1] Moore
	Default: 1
  -METHOD:<str>	Value
	choice
	Available Choices:
	[0] arithmetic mean
	[1] median
	[2] majority
	[3] minority
	Default: 0