SAGA-GIS Tool Library Documentation (v9.1.2)

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, inputGRIDS--
Weights (*)Grid list, input, optionalWEIGHTS--
OutputArithmetic Mean (*)Grid, output, optionalMEAN--
Minimum (*)Grid, output, optionalMIN--
Maximum (*)Grid, output, optionalMAX--
Range (*)Grid, output, optionalRANGE--
Sum (*)Grid, output, optionalSUM--
Sum2 (*)Grid, output, optionalSUM2--
Variance (*)Grid, output, optionalVAR--
Standard Deviation (*)Grid, output, optionalSTDDEV--
Mean less Standard Deviation (*)Grid, output, optionalSTDDEVLO--
Mean plus Standard Deviation (*)Grid, output, optionalSTDDEVHI--
Percentile (*)Grid, output, optionalPCTL--
OptionsGrid SystemGrid systemPARAMETERS_GRID_SYSTEM--
ResamplingChoiceRESAMPLING-Available Choices:
[0] Nearest Neighbour
[1] Bilinear Interpolation
[2] Bicubic Spline Interpolation
[3] B-Spline Interpolation
Default: 0
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>] [-SUM2 <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, input, optional
  -RESAMPLING:<str> 	Resampling
	Choice
	Available Choices:
	[0] Nearest Neighbour
	[1] Bilinear Interpolation
	[2] Bicubic Spline Interpolation
	[3] B-Spline Interpolation
	Default: 0
  -MEAN:<str>       	Arithmetic Mean
	Grid, output, optional
  -MIN:<str>        	Minimum
	Grid, output, optional
  -MAX:<str>        	Maximum
	Grid, output, optional
  -RANGE:<str>      	Range
	Grid, output, optional
  -SUM:<str>        	Sum
	Grid, output, optional
  -SUM2:<str>       	Sum2
	Grid, output, optional
  -VAR:<str>        	Variance
	Grid, output, optional
  -STDDEV:<str>     	Standard Deviation
	Grid, output, optional
  -STDDEVLO:<str>   	Mean less Standard Deviation
	Grid, output, optional
  -STDDEVHI:<str>   	Mean plus Standard Deviation
	Grid, output, optional
  -PCTL:<str>       	Percentile
	Grid, output, optional
  -PCTL_VAL:<double>	Percentile
	Floating point
	Minimum: 0.000000
	Maximum: 100.000000
	Default: 50.000000