Save Grid Statistics to Table
- Author: O.Conrad (c) 2013
- Menu: Spatial and Geostatistics | Grids
Description
Calculates statistical properties (arithmetic mean, minimum, maximum, variance, standard deviation) for each of the given grids and saves it to a table.
Parameters
|  | Name | Type | Identifier | Description | Constraints | 
|---|
| Input | Grids | grid list, input | GRIDS | - | - | 
| Output | Statistics for Grids | table, output | STATS | - | - | 
| Options | Number of Data Cells | boolean | DATA_CELLS | - | Default: 0 | 
| Number of No-Data Cells | boolean | NODATA_CELLS | - | Default: 0 | 
| Cellsize | boolean | CELLSIZE | - | Default: 0 | 
| Arithmetic Mean | boolean | MEAN | - | Default: 1 | 
| Minimum | boolean | MIN | - | Default: 1 | 
| Maximum | boolean | MAX | - | Default: 1 | 
| Range | boolean | RANGE | - | Default: 0 | 
| Sum | boolean | SUM | - | Default: 0 | 
| Sum of Squares | boolean | SUM2 | - | Default: 0 | 
| Variance | boolean | VAR | - | Default: 1 | 
| Standard Deviation | boolean | STDDEV | - | Default: 1 | 
| Mean less Standard Deviation | boolean | STDDEVLO | - | Default: 0 | 
| Mean plus Standard Deviation | boolean | STDDEVHI | - | Default: 0 | 
| Percentiles | text | PCTL_VAL | Separate the desired percentiles by semicolon | Default: 5; 25; 50; 75; 95 | 
| From Histogram | boolean | PCTL_HST | - | Default: 1 | 
| Sample Size | floating point number | SAMPLES | Minimum 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