SAGA-GIS Tool Library Documentation (v7.3.0)

Tool Directional Statistics for Single Grid

Calculates for each cell statistical properties (arithmetic mean, minimum, maximum, variance, standard deviation) of all cells lying in given direction based on the input grid.

Parameters

 NameTypeIdentifierDescriptionConstraints
InputGridGrid (input)GRID--
Points (*)Shapes (optional input)POINTS--
OutputArithmetic Mean (*)Grid (optional output)MEAN--
Difference from Arithmetic Mean (*)Grid (optional output)DIFMEAN--
Minimum (*)Grid (optional output)MIN--
Maximum (*)Grid (optional output)MAX--
Range (*)Grid (optional output)RANGE--
Variance (*)Grid (optional output)VAR--
Standard Deviation (*)Grid (optional output)STDDEV--
Mean less Standard Deviation (*)Grid (optional output)STDDEVLO--
Mean plus Standard Deviation (*)Grid (optional output)STDDEVHI--
Deviation from Arithmetic Mean (*)Grid (optional output)DEVMEAN--
Percentile (*)Grid (optional output)PERCENT--
Directional Statistics for Points (*)Shapes (optional output)POINTS_OUT--
OptionsGrid systemGrid systemPARAMETERS_GRID_SYSTEM--
Direction [Degree]Floating pointDIRECTION-Default: 0.000000
Tolerance [Degree]Floating pointTOLERANCE-Minimum: 0.000000
Maximum: 45.000000
Default: 0.000000
Maximum Distance [Cells]IntegerMAXDISTANCEMaximum distance parameter is ignored if set to zero (default).Minimum: 0
Default: 0
Weighting FunctionChoiceDW_WEIGHTING-Available Choices:
[0] no distance weighting
[1] inverse distance to a power
[2] exponential
[3] gaussian weighting
Default: 3
Inverse Distance Weighting PowerFloating pointDW_IDW_POWER-Minimum: 0.000000
Default: 1.000000
Inverse Distance OffsetBooleanDW_IDW_OFFSETCalculates weights for distance plus one, avoiding division by zero for zero distancesDefault: 1
Gaussian and Exponential Weighting BandwidthFloating pointDW_BANDWIDTHBandwidth specified as number of cells.Minimum: 0.000000
Default: 25.000000
(*) optional

Command-line

Usage: saga_cmd statistics_grid 6 [-GRID <str>] [-MEAN <str>] [-DIFMEAN <str>] [-MIN <str>] [-MAX <str>] [-RANGE <str>] [-VAR <str>] [-STDDEV <str>] [-STDDEVLO <str>] [-STDDEVHI <str>] [-DEVMEAN <str>] [-PERCENT <str>] [-POINTS <str>] [-POINTS_OUT <str>] [-DIRECTION <double>] [-TOLERANCE <double>] [-MAXDISTANCE <num>] [-DW_WEIGHTING <str>] [-DW_IDW_POWER <double>] [-DW_IDW_OFFSET <str>] [-DW_BANDWIDTH <double>]
  -GRID:<str>           	Grid
	Grid (input)
  -MEAN:<str>           	Arithmetic Mean
	Grid (optional output)
  -DIFMEAN:<str>        	Difference from Arithmetic Mean
	Grid (optional output)
  -MIN:<str>            	Minimum
	Grid (optional output)
  -MAX:<str>            	Maximum
	Grid (optional output)
  -RANGE:<str>          	Range
	Grid (optional output)
  -VAR:<str>            	Variance
	Grid (optional output)
  -STDDEV:<str>         	Standard Deviation
	Grid (optional output)
  -STDDEVLO:<str>       	Mean less Standard Deviation
	Grid (optional output)
  -STDDEVHI:<str>       	Mean plus Standard Deviation
	Grid (optional output)
  -DEVMEAN:<str>        	Deviation from Arithmetic Mean
	Grid (optional output)
  -PERCENT:<str>        	Percentile
	Grid (optional output)
  -POINTS:<str>         	Points
	Shapes (optional input)
  -POINTS_OUT:<str>     	Directional Statistics for Points
	Shapes (optional output)
  -DIRECTION:<double>   	Direction [Degree]
	Floating point
	Default: 0.000000
  -TOLERANCE:<double>   	Tolerance [Degree]
	Floating point
	Minimum: 0.000000
	Maximum: 45.000000
	Default: 0.000000
  -MAXDISTANCE:<num>    	Maximum Distance [Cells]
	Integer
	Minimum: 0
	Default: 0
  -DW_WEIGHTING:<str>   	Weighting Function
	Choice
	Available Choices:
	[0] no distance weighting
	[1] inverse distance to a power
	[2] exponential
	[3] gaussian weighting
	Default: 3
  -DW_IDW_POWER:<double>	Inverse Distance Weighting Power
	Floating point
	Minimum: 0.000000
	Default: 1.000000
  -DW_IDW_OFFSET:<str>  	Inverse Distance Offset
	Boolean
	Default: 1
  -DW_BANDWIDTH:<double>	Gaussian and Exponential Weighting Bandwidth
	Floating point
	Minimum: 0.000000
	Default: 25.000000