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 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 <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 number
Minimum: 0.000000
Maximum: 100.000000
Default: 0.000000