SAGA-GIS Tool Library Documentation (v7.0.0)

Tool Evaluate Statistics for Grids

Calculates statistical properties (arithmetic mean, range, variance, standard deviation, percentiles) on a cell-wise base. This tool takes input about basic statistical information as it can be collected with the 'Build Statistics for Grids' tool. Together these tools have been designed to inspect a large number of grids that could not be loaded into memory simultaneously.

Parameters

 NameTypeIdentifierDescriptionConstraints
InputNumber of Values (*)Grid (optional input)COUNT--
Sum (*)Grid (optional input)SUM--
Sum of Squares (*)Grid (optional input)SUM2--
Minimum (*)Grid (optional input)MIN--
Maximum (*)Grid (optional input)MAX--
Histogram (*)Grids (optional input)HISTOGRAM--
OutputRangeGrid (output)RANGE--
Arithmetic MeanGrid (output)MEAN--
VarianceGrid (output)VAR--
Standard DeviationGrid (output)STDDEV--
Percentiles (*)Grid list (optional output)QUANTILES--
OptionsGrid systemGrid systemPARAMETERS_GRID_SYSTEM--
PercentilesTextQUANTVALSSeparate the desired percentiles by semicolonDefault: 5; 25; 50; 75; 95
(*) optional

Command-line

Usage: saga_cmd statistics_grid 18 [-COUNT <str>] [-SUM <str>] [-SUM2 <str>] [-MIN <str>] [-MAX <str>] [-HISTOGRAM <str>] [-RANGE <str>] [-MEAN <str>] [-VAR <str>] [-STDDEV <str>] [-QUANTILES <str>] [-QUANTVALS <str>]
  -COUNT:<str>    	Number of Values
	Grid (optional input)
  -SUM:<str>      	Sum
	Grid (optional input)
  -SUM2:<str>     	Sum of Squares
	Grid (optional input)
  -MIN:<str>      	Minimum
	Grid (optional input)
  -MAX:<str>      	Maximum
	Grid (optional input)
  -HISTOGRAM:<str>	Histogram
	Grids (optional input)
  -RANGE:<str>    	Range
	Grid (output)
  -MEAN:<str>     	Arithmetic Mean
	Grid (output)
  -VAR:<str>      	Variance
	Grid (output)
  -STDDEV:<str>   	Standard Deviation
	Grid (output)
  -QUANTILES:<str>	Percentiles
	Grid list (optional output)
  -QUANTVALS:<str>	Percentiles
	Text
	Default: 5; 25; 50; 75; 95