| Tool Name | Unique Value Statistics for Grids |
| Tool ID | 20 |
| Library ID | statistics_grid |
| Version | 1.0 |
| Author(s) | O.Conrad (c) 2020 |
Please cite SAGA whenever you use it for your publications:
doi:10.5194/gmd-8-1991-2015
Description
This tool analyzes for each cell position the uniquely appearing values of the input grids. Output is the number of unique values, the most frequent value (the majority), and the least frequent value (minority).
Parameters
| Name | Type | Identifier | Description | Constraints |
|---|
| Input |
|---|
| Values | grid list, input | GRIDS | | |
| Output |
|---|
| Majority | grid, output, optional | MAJORITY | | |
| Majority Count | grid, output, optional | MAJORITY_COUNT | | |
| Minority | grid, output, optional | MINORITY | | |
| Minority Count | grid, output, optional | MINORITY_COUNT | | |
| Number of Unique Values | grid, output, optional | NUNIQUES | | |
| Options |
|---|
| Unambiguous | boolean | UNAMBIGUOUS | Set no-data if more than one value reaches the same majority count. | Default: 0 |