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.
- Author: O.Conrad (c) 2013
- Menu: Spatial and Geostatistics|Grids
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 | 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 <str>] [-STATS <str>] [-DATA_CELLS <str>] [-NODATA_CELLS <str>] [-CELLSIZE <str>] [-MEAN <str>] [-MIN <str>] [-MAX <str>] [-RANGE <str>] [-SUM <str>] [-SUM2 <str>] [-VAR <str>] [-STDDEV <str>] [-STDDEVLO <str>] [-STDDEVHI <str>] [-PCTL_VAL <str>] [-PCTL_HST <str>] [-SAMPLES <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
-SUM:<str> Sum
Boolean
Default: 0
-SUM2:<str> Sum of Squares
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_VAL:<str> Percentiles
Text
Default: 5; 25; 50; 75; 95
-PCTL_HST:<str> From Histogram
Boolean
Default: 1
-SAMPLES:<double> Sample Size
Floating point
Minimum: 0.000000
Maximum: 100.000000
Default: 0.000000