Statistics for Grids
- Author: O.Conrad (c) 2005
- Menu: Spatial and Geostatistics | Grids
Description
Calculates statistical properties (arithmetic mean, minimum, maximum, variance, standard deviation) for each cell position for the values of the selected grids.
Optionally you can supply a list of grids with weights. If you want to use weights, the number of value and weight grids have to be the same Value and weight grids are associated by their order in the lists. Weight grids have not to share the grid system of the value grids. In case that no weight can be obtained from a weight grid for value, that value will be ignored. 
Parameters
|  | Name | Type | Identifier | Description | Constraints | 
|---|
| Input | Values | grid list, input | GRIDS | - | - | 
| Weights | grid list, input, optional | WEIGHTS | - | - | 
| Output | Arithmetic Mean | grid, output, optional | MEAN | - | - | 
| Minimum | grid, output, optional | MIN | - | - | 
| Maximum | grid, output, optional | MAX | - | - | 
| Range | grid, output, optional | RANGE | - | - | 
| Sum | grid, output, optional | SUM | - | - | 
| Sum2 | grid, output, optional | SUM2 | - | - | 
| Variance | grid, output, optional | VAR | - | - | 
| Standard Deviation | grid, output, optional | STDDEV | - | - | 
| Mean less Standard Deviation | grid, output, optional | STDDEVLO | - | - | 
| Mean plus Standard Deviation | grid, output, optional | STDDEVHI | - | - | 
| Percentile | grid, output, optional | PCTL | - | - | 
| Options | Grid System | grid system | PARAMETERS_GRID_SYSTEM | - | - | 
| Resampling | choice | RESAMPLING | - | Available Choices:
[0] Nearest Neighbour
[1] Bilinear Interpolation
[2] Bicubic Spline Interpolation
[3] B-Spline Interpolation
Default: 0 | 
| Percentile | floating point number | PCTL_VAL | - | Minimum: 0.000000
Maximum: 100.000000
Default: 50.000000 | 
Command Line
Usage: saga_cmd statistics_grid 4 [-GRIDS ] [-WEIGHTS ] [-RESAMPLING ] [-MEAN ] [-MIN ] [-MAX ] [-RANGE ] [-SUM ] [-SUM2 ] [-VAR ] [-STDDEV ] [-STDDEVLO ] [-STDDEVHI ] [-PCTL ] [-PCTL_VAL ]
  -GRIDS:      	Values
	grid list, input
  -WEIGHTS:    	Weights
	grid list, input, optional
  -RESAMPLING: 	Resampling
	choice
	Available Choices:
	[0] Nearest Neighbour
	[1] Bilinear Interpolation
	[2] Bicubic Spline Interpolation
	[3] B-Spline Interpolation
	Default: 0
  -MEAN:       	Arithmetic Mean
	grid, output, optional
  -MIN:        	Minimum
	grid, output, optional
  -MAX:        	Maximum
	grid, output, optional
  -RANGE:      	Range
	grid, output, optional
  -SUM:        	Sum
	grid, output, optional
  -SUM2:       	Sum2
	grid, output, optional
  -VAR:        	Variance
	grid, output, optional
  -STDDEV:     	Standard Deviation
	grid, output, optional
  -STDDEVLO:   	Mean less Standard Deviation
	grid, output, optional
  -STDDEVHI:   	Mean plus Standard Deviation
	grid, output, optional
  -PCTL:       	Percentile
	grid, output, optional
  -PCTL_VAL:	Percentile
	floating point number
	Minimum: 0.000000
	Maximum: 100.000000
	Default: 50.000000