Tool Statistics for Grids
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.
- Author: O.Conrad (c) 2005
- Menu: Spatial and Geostatistics|Grids
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 | PCTL_VAL | - | Minimum: 0.000000 Maximum: 100.000000 Default: 50.000000 |
(*) optional |
Command-line
Usage: saga_cmd statistics_grid 4 [-GRIDS <str>] [-WEIGHTS <str>] [-RESAMPLING <str>] [-MEAN <str>] [-MIN <str>] [-MAX <str>] [-RANGE <str>] [-SUM <str>] [-SUM2 <str>] [-VAR <str>] [-STDDEV <str>] [-STDDEVLO <str>] [-STDDEVHI <str>] [-PCTL <str>] [-PCTL_VAL <double>]
-GRIDS:<str> Values
Grid list, input
-WEIGHTS:<str> Weights
Grid list, input, optional
-RESAMPLING:<str> Resampling
Choice
Available Choices:
[0] Nearest Neighbour
[1] Bilinear Interpolation
[2] Bicubic Spline Interpolation
[3] B-Spline Interpolation
Default: 0
-MEAN:<str> Arithmetic Mean
Grid, output, optional
-MIN:<str> Minimum
Grid, output, optional
-MAX:<str> Maximum
Grid, output, optional
-RANGE:<str> Range
Grid, output, optional
-SUM:<str> Sum
Grid, output, optional
-SUM2:<str> Sum2
Grid, output, optional
-VAR:<str> Variance
Grid, output, optional
-STDDEV:<str> Standard Deviation
Grid, output, optional
-STDDEVLO:<str> Mean less Standard Deviation
Grid, output, optional
-STDDEVHI:<str> Mean plus Standard Deviation
Grid, output, optional
-PCTL:<str> Percentile
Grid, output, optional
-PCTL_VAL:<double> Percentile
Floating point
Minimum: 0.000000
Maximum: 100.000000
Default: 50.000000