SAGA-GIS Tool Library Documentation (v6.1.0)

Tool Statistics for Grids

Calculates statistical properties (arithmetic mean, minimum, maximum, variance, standard deviation) for each cell position for the values of the selected grids.
Optionally you can supply a list of grids with weights. If you want to use weights, the number of value and weight grids have to be the same Value and weight grids are associated by their order in the lists. Weight grids have not to share the grid system of the value grids. In case that no weight can be obtained from a weight grid for value, that value will be ignored.

Parameters

 NameTypeIdentifierDescriptionConstraints
InputValuesGrid list (input)GRIDS--
Weights (*)Grid list (optional input)WEIGHTS--
OutputArithmetic Mean (*)Grid (optional output)MEAN--
Minimum (*)Grid (optional output)MIN--
Maximum (*)Grid (optional output)MAX--
Range (*)Grid (optional output)RANGE--
Sum (*)Grid (optional output)SUM--
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--
Percentile (*)Grid (optional output)PCTL--
OptionsGrid systemGrid systemPARAMETERS_GRID_SYSTEM--
ResamplingChoiceRESAMPLING-Available Choices:
[0] Nearest Neighbour
[1] Bilinear Interpolation
[2] Bicubic Spline Interpolation
[3] B-Spline Interpolation
Default: 3
PercentileFloating pointPCTL_VAL-Minimum: 0.000000
Maximum: 100.000000
Default: 50.000000
(*) optional

Command-line

Usage: saga_cmd statistics_grid 4 [-GRIDS <str>] [-WEIGHTS <str>] [-RESAMPLING <str>] [-MEAN <str>] [-MIN <str>] [-MAX <str>] [-RANGE <str>] [-SUM <str>] [-VAR <str>] [-STDDEV <str>] [-STDDEVLO <str>] [-STDDEVHI <str>] [-PCTL <str>] [-PCTL_VAL <double>]
  -GRIDS:<str>      	Values
	Grid list (input)
  -WEIGHTS:<str>    	Weights
	Grid list (optional input)
  -RESAMPLING:<str> 	Resampling
	Choice
	Available Choices:
	[0] Nearest Neighbour
	[1] Bilinear Interpolation
	[2] Bicubic Spline Interpolation
	[3] B-Spline Interpolation
	Default: 3
  -MEAN:<str>       	Arithmetic Mean
	Grid (optional output)
  -MIN:<str>        	Minimum
	Grid (optional output)
  -MAX:<str>        	Maximum
	Grid (optional output)
  -RANGE:<str>      	Range
	Grid (optional output)
  -SUM:<str>        	Sum
	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)
  -PCTL:<str>       	Percentile
	Grid (optional output)
  -PCTL_VAL:<double>	Percentile
	Floating point
	Minimum: 0.000000
	Maximum: 100.000000
	Default: 50.000000