Tool Statistics for Grids from Files
Calculates statistical properties (arithmetic mean, minimum, maximum, variance, standard deviation) for each cell position for the values of the selected grids. This tool works file based to allow the processing of a large number of grids.
- Author: O.Conrad (c) 2018
- Menu: Spatial and Geostatistics|Grids|Massive Data Analysis
Parameters
| Name | Type | Identifier | Description | Constraints |
Output | Number of Values | Grid (output) | COUNT | - | - |
Minimum | Grid (output) | MIN | - | - |
Maximum | Grid (output) | MAX | - | - |
Range | Grid (output) | RANGE | - | - |
Sum | Grid (output) | SUM | - | - |
Sum of Squares | Grid (output) | SUM2 | - | - |
Arithmetic Mean | Grid (output) | MEAN | - | - |
Variance | Grid (output) | VAR | - | - |
Standard Deviation | Grid (output) | STDDEV | - | - |
Histogram | Grids (output) | HISTOGRAM | - | - |
Percentiles (*) | Grid list (optional output) | QUANTILES | - | - |
Options | Grid System | Grid system | GRID_SYSTEM | - | - |
Grid Files | File path | FILES | - | - |
Number of Classes | Integer | HCLASSES | - | Minimum: 0 Default: 20 |
Range | Choice | HRANGE | Minimum and maximum values used to define the histogram classes. | Available Choices: [0] overall [1] cell Default: 1 |
Cumulative | Boolean | CUMULATIVE | - | Default: 0 |
Percentiles | Text | QUANTVALS | Separate the desired percentiles by semicolon | Default: 5; 25; 50; 75; 95 |
(*) optional |
Command-line
Usage: saga_cmd statistics_grid 16 [-COUNT <str>] [-MIN <str>] [-MAX <str>] [-RANGE <str>] [-SUM <str>] [-SUM2 <str>] [-MEAN <str>] [-VAR <str>] [-STDDEV <str>] [-HISTOGRAM <str>] [-FILES <str>] [-HCLASSES <num>] [-HRANGE <str>] [-CUMULATIVE <str>] [-QUANTILES <str>] [-QUANTVALS <str>]
-COUNT:<str> Number of Values
Grid (output)
-MIN:<str> Minimum
Grid (output)
-MAX:<str> Maximum
Grid (output)
-RANGE:<str> Range
Grid (output)
-SUM:<str> Sum
Grid (output)
-SUM2:<str> Sum of Squares
Grid (output)
-MEAN:<str> Arithmetic Mean
Grid (output)
-VAR:<str> Variance
Grid (output)
-STDDEV:<str> Standard Deviation
Grid (output)
-HISTOGRAM:<str> Histogram
Grids (output)
-FILES:<str> Grid Files
File path
-HCLASSES:<num> Number of Classes
Integer
Minimum: 0
Default: 20
-HRANGE:<str> Range
Choice
Available Choices:
[0] overall
[1] cell
Default: 1
-CUMULATIVE:<str> Cumulative
Boolean
Default: 0
-QUANTILES:<str> Percentiles
Grid list (optional output)
-QUANTVALS:<str> Percentiles
Text
Default: 5; 25; 50; 75; 95