Tool Build Statistics for Grids
This tool collects cell-wise basic statistical information from the given input grids. The collected statistics can be used as input for the 'Evaluate Statistics for Grids' tool. You can use this tool with the 'Reset' flag set to false (not available in command line mode) or the 'Add Statistics for Grids' tool to successively add statistical information from further grids by subsequent calls. These three tools (build, add, evaluate) have been designed to inspect a large number of grids that could otherwise not be evaluated simultaneously due to memory restrictions.
- Author: O.Conrad (c) 2018
- Menu: Spatial and Geostatistics|Grids|Massive Data Analysis
Parameters
| Name | Type | Identifier | Description | Constraints |
Input | Grids | Grid list (input) | GRIDS | - | - |
Output | Number of Values (*) | Grid (optional output) | COUNT | - | - |
Sum (*) | Grid (optional output) | SUM | - | - |
Sum of Squares (*) | Grid (optional output) | SUM2 | - | - |
Minimum (*) | Grid (optional output) | MIN | - | - |
Maximum (*) | Grid (optional output) | MAX | - | - |
Histogram (*) | Grids (optional output) | HISTOGRAM | - | - |
Options | Grid system | Grid system | PARAMETERS_GRID_SYSTEM | - | - |
Number of Classes | Integer | HCLASSES | - | Minimum: 2 Default: 20 |
Minimum | Floating point | HMIN | - | Default: 0.000000 |
Minimum | Floating point | HMAX | - | Default: 0.000000 |
Reset | Boolean | RESET | - | Default: 1 |
(*) optional |
Command-line
Usage: saga_cmd statistics_grid 17 [-GRIDS <str>] [-COUNT <str>] [-SUM <str>] [-SUM2 <str>] [-MIN <str>] [-MAX <str>] [-HISTOGRAM <str>] [-HCLASSES <num>] [-HMIN <double>] [-HMAX <double>]
-GRIDS:<str> Grids
Grid list (input)
-COUNT:<str> Number of Values
Grid (optional output)
-SUM:<str> Sum
Grid (optional output)
-SUM2:<str> Sum of Squares
Grid (optional output)
-MIN:<str> Minimum
Grid (optional output)
-MAX:<str> Maximum
Grid (optional output)
-HISTOGRAM:<str> Histogram
Grids (optional output)
-HCLASSES:<num> Number of Classes
Integer
Minimum: 2
Default: 20
-HMIN:<double> Minimum
Floating point
Default: 0.000000
-HMAX:<double> Minimum
Floating point
Default: 0.000000