SAGA-GIS Tool Library Documentation (v7.2.0)

Tool Add Statistics for Grids

This tool allows to collect successively cell-wise statistical information from grids by subsequent calls. The targeted data sets, particularly the histogram, should have been created with 'Build Statistics for Grids' tool. The collected information can be used consequently as input for the 'Evaluate Statistics for Grids' tool. These three tools (build, add, evaluate) have been designed to inspect a large number of grids that could otherwise not be evaluated simultaneously due to memory restrictions.

Parameters

 NameTypeIdentifierDescriptionConstraints
InputGridsGrid list (input)GRIDS--
Number 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--
OptionsGrid systemGrid systemPARAMETERS_GRID_SYSTEM--
(*) optional

Command-line

Usage: saga_cmd statistics_grid 19 [-GRIDS <str>] [-COUNT <str>] [-SUM <str>] [-SUM2 <str>] [-MIN <str>] [-MAX <str>] [-HISTOGRAM <str>]
  -GRIDS:<str>    	Grids
	Grid list (input)
  -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)