SAGA-GIS Tool Library Documentation (v6.1.0)

Tool Save Grid Statistics to Table

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 (input)GRIDS--
OutputStatistics for GridsTable (output)STATS--
OptionsGrid systemGrid systemPARAMETERS_GRID_SYSTEM--
Number 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
VarianceBooleanVAR-Default: 1
Standard DeviationBooleanSTDDEV-Default: 1
Mean less Standard DeviationBooleanSTDDEVLO-Default: 0
Mean plus Standard DeviationBooleanSTDDEVHI-Default: 0
PercentileBooleanPCTL-Default: 0
PercentileFloating pointPCTL_VAL-Minimum: 0.000000
Maximum: 100.000000
Default: 50.000000

Command-line

Usage: saga_cmd statistics_grid 13 [-GRIDS <str>] [-STATS <str>] [-DATA_CELLS <str>] [-NODATA_CELLS <str>] [-CELLSIZE <str>] [-MEAN <str>] [-MIN <str>] [-MAX <str>] [-RANGE <str>] [-VAR <str>] [-STDDEV <str>] [-STDDEVLO <str>] [-STDDEVHI <str>] [-PCTL <str>] [-PCTL_VAL <double>]
  -GRIDS:<str>       	Grids
	Grid list (input)
  -STATS:<str>       	Statistics for Grids
	Table (output)
  -DATA_CELLS:<str>  	Number of Data Cells
	Boolean
	Default: 0
  -NODATA_CELLS:<str>	Number of No-Data Cells
	Boolean
	Default: 0
  -CELLSIZE:<str>    	Cellsize
	Boolean
	Default: 0
  -MEAN:<str>        	Arithmetic Mean
	Boolean
	Default: 1
  -MIN:<str>         	Minimum
	Boolean
	Default: 1
  -MAX:<str>         	Maximum
	Boolean
	Default: 1
  -RANGE:<str>       	Range
	Boolean
	Default: 0
  -VAR:<str>         	Variance
	Boolean
	Default: 1
  -STDDEV:<str>      	Standard Deviation
	Boolean
	Default: 1
  -STDDEVLO:<str>    	Mean less Standard Deviation
	Boolean
	Default: 0
  -STDDEVHI:<str>    	Mean plus Standard Deviation
	Boolean
	Default: 0
  -PCTL:<str>        	Percentile
	Boolean
	Default: 0
  -PCTL_VAL:<double> 	Percentile
	Floating point
	Minimum: 0.000000
	Maximum: 100.000000
	Default: 50.000000