SAGA 9.4.2 | Tool Library Documentation

Save Grid Statistics to Table


Description

Calculates statistical properties (arithmetic mean, minimum, maximum, variance, standard deviation) for each of the given grids and saves it to a table.


Parameters

 NameTypeIdentifierDescriptionConstraints
InputGridsgrid list, inputGRIDS--
OutputStatistics for Gridstable, outputSTATS--
OptionsNumber of Data CellsbooleanDATA_CELLS-Default: 0
Number of No-Data CellsbooleanNODATA_CELLS-Default: 0
CellsizebooleanCELLSIZE-Default: 0
Arithmetic MeanbooleanMEAN-Default: 1
MinimumbooleanMIN-Default: 1
MaximumbooleanMAX-Default: 1
RangebooleanRANGE-Default: 0
SumbooleanSUM-Default: 0
Sum of SquaresbooleanSUM2-Default: 0
VariancebooleanVAR-Default: 1
Standard DeviationbooleanSTDDEV-Default: 1
Mean less Standard DeviationbooleanSTDDEVLO-Default: 0
Mean plus Standard DeviationbooleanSTDDEVHI-Default: 0
PercentilestextPCTL_VALSeparate the desired percentiles by semicolonDefault: 5; 25; 50; 75; 95
From HistogrambooleanPCTL_HST-Default: 1
Sample Sizefloating point numberSAMPLESMinimum sample size [percent] used to calculate statistics. Ignored, if set to zero.Minimum: 0.000000 Maximum: 100.000000 Default: 0.000000

Command Line


Usage: saga_cmd statistics_grid 13 [-GRIDS ] [-STATS ] [-DATA_CELLS ] [-NODATA_CELLS ] [-CELLSIZE ] [-MEAN ] [-MIN ] [-MAX ] [-RANGE ] [-SUM ] [-SUM2 ] [-VAR ] [-STDDEV ] [-STDDEVLO ] [-STDDEVHI ] [-PCTL_VAL ] [-PCTL_HST ] [-SAMPLES ]
  -GRIDS:       	Grids
	grid list, input
  -STATS:       	Statistics for Grids
	table, output
  -DATA_CELLS:  	Number of Data Cells
	boolean
	Default: 0
  -NODATA_CELLS:	Number of No-Data Cells
	boolean
	Default: 0
  -CELLSIZE:    	Cellsize
	boolean
	Default: 0
  -MEAN:        	Arithmetic Mean
	boolean
	Default: 1
  -MIN:         	Minimum
	boolean
	Default: 1
  -MAX:         	Maximum
	boolean
	Default: 1
  -RANGE:       	Range
	boolean
	Default: 0
  -SUM:         	Sum
	boolean
	Default: 0
  -SUM2:        	Sum of Squares
	boolean
	Default: 0
  -VAR:         	Variance
	boolean
	Default: 1
  -STDDEV:      	Standard Deviation
	boolean
	Default: 1
  -STDDEVLO:    	Mean less Standard Deviation
	boolean
	Default: 0
  -STDDEVHI:    	Mean plus Standard Deviation
	boolean
	Default: 0
  -PCTL_VAL:    	Percentiles
	text
	Default: 5; 25; 50; 75; 95
  -PCTL_HST:    	From Histogram
	boolean
	Default: 1
  -SAMPLES:  	Sample Size
	floating point number
	Minimum: 0.000000
	Maximum: 100.000000
	Default: 0.000000