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 | Grid system | Grid system | PARAMETERS_GRID_SYSTEM | - | - |
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 |
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 |
Percentile | Boolean | PCTL | - | Default: 0 |
Percentile | Floating point | PCTL_VAL | - | Minimum: 0.000000 Maximum: 100.000000 Default: 50.000000 |
From Histogram | Boolean | PCTL_HST | - | Default: 1 |
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>] [-VAR <str>] [-STDDEV <str>] [-STDDEVLO <str>] [-STDDEVHI <str>] [-PCTL <str>] [-PCTL_VAL <double>] [-PCTL_HST <str>]
-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
-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:<str> Percentile
Boolean
Default: 0
-PCTL_VAL:<double> Percentile
Floating point
Minimum: 0.000000
Maximum: 100.000000
Default: 50.000000
-PCTL_HST:<str> From Histogram
Boolean
Default: 1