SAGA 9.6.1 | Tool Library Documentation

Build Statistics for Grids


Description

This tool collects cell-wise basic statistical information from the given input grids. The collected statistics can be used as input for the 'Evaluate Statistics for Grids' tool. You can use this tool with the 'Reset' flag set to false (not available in command line mode) or the 'Add Statistics for Grids' tool to successively add statistical information from further grids by subsequent calls. 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--
OutputNumber of Valuesgrid, output, optionalCOUNT--
Sumgrid, output, optionalSUM--
Sum of Squaresgrid, output, optionalSUM2--
Minimumgrid, output, optionalMIN--
Maximumgrid, output, optionalMAX--
Histogramgrid collection, output, optionalHISTOGRAM--
OptionsGrid Systemgrid systemPARAMETERS_GRID_SYSTEM--
Number of Classesinteger numberHCLASSES-Minimum: 2 Default: 20
Minimumfloating point numberHMIN-Default: 0.000000
Maximumfloating point numberHMAX-Default: 0.000000
Resetboolean [GUI]RESET-Default: 1

Command Line


Usage: saga_cmd statistics_grid 17 [-GRIDS ] [-COUNT ] [-SUM ] [-SUM2 ] [-MIN ] [-MAX ] [-HISTOGRAM ] [-HCLASSES ] [-HMIN ] [-HMAX ]
  -GRIDS:    	Grids
	grid list, input
  -COUNT:    	Number of Values
	grid, output, optional
  -SUM:      	Sum
	grid, output, optional
  -SUM2:     	Sum of Squares
	grid, output, optional
  -MIN:      	Minimum
	grid, output, optional
  -MAX:      	Maximum
	grid, output, optional
  -HISTOGRAM:	Histogram
	grid collection, output, optional
  -HCLASSES: 	Number of Classes
	integer number
	Minimum: 2
	Default: 20
  -HMIN:  	Minimum
	floating point number
	Default: 0.000000
  -HMAX:  	Maximum
	floating point number
	Default: 0.000000