SAGA-GIS Tool Library Documentation (v8.1.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, inputGRIDS--
Number of Values (*)Grid, input, optionalCOUNT--
Sum (*)Grid, input, optionalSUM--
Sum of Squares (*)Grid, input, optionalSUM2--
Minimum (*)Grid, input, optionalMIN--
Maximum (*)Grid, input, optionalMAX--
Histogram (*)Grids, input, optionalHISTOGRAM--
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, input, optional
  -SUM:<str>      	Sum
	Grid, input, optional
  -SUM2:<str>     	Sum of Squares
	Grid, input, optional
  -MIN:<str>      	Minimum
	Grid, input, optional
  -MAX:<str>      	Maximum
	Grid, input, optional
  -HISTOGRAM:<str>	Histogram
	Grids, input, optional