SAGA 9.4.2 | Tool Library Documentation

Statistics for Grids from Files


Description

Calculates statistical properties (arithmetic mean, minimum, maximum, variance, standard deviation) for each cell position for the values of the selected grids. This tool works file based to allow the processing of a large number of grids.


Parameters

 NameTypeIdentifierDescriptionConstraints
OutputNumber of Valuesgrid, outputCOUNT--
Minimumgrid, outputMIN--
Maximumgrid, outputMAX--
Rangegrid, outputRANGE--
Sumgrid, outputSUM--
Sum of Squaresgrid, outputSUM2--
Arithmetic Meangrid, outputMEAN--
Variancegrid, outputVAR--
Standard Deviationgrid, outputSTDDEV--
Histogramgrid collection, outputHISTOGRAM--
Percentilesgrid list, output, optionalQUANTILES--
OptionsGrid Systemgrid systemGRID_SYSTEM--
Grid Filesfile pathFILES--
Number of Classesinteger numberHCLASSES-Minimum: 2 Default: 20
RangechoiceHRANGEMinimum and maximum values used to define the histogram classes.Available Choices: [0] overall [1] cell Default: 1
CumulativebooleanCUMULATIVE-Default: 0
PercentilestextQUANTVALSSeparate the desired percentiles by semicolonDefault: 5; 25; 50; 75; 95

Command Line


Usage: saga_cmd statistics_grid 16 [-COUNT ] [-MIN ] [-MAX ] [-RANGE ] [-SUM ] [-SUM2 ] [-MEAN ] [-VAR ] [-STDDEV ] [-HISTOGRAM ] [-FILES ] [-HCLASSES ] [-HRANGE ] [-CUMULATIVE ] [-QUANTILES ] [-QUANTVALS ]
  -COUNT:     	Number of Values
	grid, output
  -MIN:       	Minimum
	grid, output
  -MAX:       	Maximum
	grid, output
  -RANGE:     	Range
	grid, output
  -SUM:       	Sum
	grid, output
  -SUM2:      	Sum of Squares
	grid, output
  -MEAN:      	Arithmetic Mean
	grid, output
  -VAR:       	Variance
	grid, output
  -STDDEV:    	Standard Deviation
	grid, output
  -HISTOGRAM: 	Histogram
	grid collection, output
  -FILES:     	Grid Files
	file path
  -HCLASSES:  	Number of Classes
	integer number
	Minimum: 2
	Default: 20
  -HRANGE:    	Range
	choice
	Available Choices:
	[0] overall
	[1] cell
	Default: 1
  -CUMULATIVE:	Cumulative
	boolean
	Default: 0
  -QUANTILES: 	Percentiles
	grid list, output, optional
  -QUANTVALS: 	Percentiles
	text
	Default: 5; 25; 50; 75; 95