Statistics for Grids from Files
- Author: O.Conrad (c) 2018
- Menu: Spatial and Geostatistics | Grids | Massive Data Analysis
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
|  | Name | Type | Identifier | Description | Constraints | 
|---|
| Output | Number of Values | grid, output | COUNT | - | - | 
| Minimum | grid, output | MIN | - | - | 
| Maximum | grid, output | MAX | - | - | 
| Range | grid, output | RANGE | - | - | 
| Sum | grid, output | SUM | - | - | 
| Sum of Squares | grid, output | SUM2 | - | - | 
| Arithmetic Mean | grid, output | MEAN | - | - | 
| Variance | grid, output | VAR | - | - | 
| Standard Deviation | grid, output | STDDEV | - | - | 
| Histogram | grid collection, output | HISTOGRAM | - | - | 
| Percentiles | grid list, output, optional | QUANTILES | - | - | 
| Options | Grid System | grid system | GRID_SYSTEM | - | - | 
| Grid Files | file path | FILES | - | - | 
| Number of Classes | integer number | HCLASSES | - | Minimum: 2
Default: 20 | 
| Range | choice | HRANGE | Minimum and maximum values used to define the histogram classes. | Available Choices:
[0] overall
[1] cell
Default: 1 | 
| Cumulative | boolean | CUMULATIVE | - | Default: 0 | 
| Percentiles | text | QUANTVALS | Separate the desired percentiles by semicolon | Default: 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