SAGA-GIS Tool Library Documentation (v6.1.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
WeightingParametersWEIGHTING-4 Parameters:
- 1. Available Choices:
[0] no distance weighting
[1] inverse distance to a power
[2] exponential
[3] gaussian weighting
Default: 0
- 2. Minimum: 0.000000
Default: 1.000000
- 3. Default: 1
- 4. Minimum: 0.000000
Default: 1.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>] [-DISTANCE_WEIGHTING_DW_WEIGHTING <str>] [-DISTANCE_WEIGHTING_DW_IDW_POWER <double>] [-DISTANCE_WEIGHTING_DW_IDW_OFFSET <str>] [-DISTANCE_WEIGHTING_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
  -DISTANCE_WEIGHTING_DW_WEIGHTING:<str>   	Weighting Function
	Choice
	Available Choices:
	[0] no distance weighting
	[1] inverse distance to a power
	[2] exponential
	[3] gaussian weighting
	Default: 0
  -DISTANCE_WEIGHTING_DW_IDW_POWER:<double>	Inverse Distance Weighting Power
	Floating point
	Minimum: 0.000000
	Default: 1.000000
  -DISTANCE_WEIGHTING_DW_IDW_OFFSET:<str>  	Inverse Distance Offset
	Boolean
	Default: 1
  -DISTANCE_WEIGHTING_DW_BANDWIDTH:<double>	Gaussian and Exponential Weighting Bandwidth
	Floating point
	Minimum: 0.000000
	Default: 1.000000