Tool Iterative Truncation
The tool allows one to perform an iterative truncation to a target average. This operation iteratively removes the highest values from the input grid until the average of all grid values matches the user-specified target average. Instead of simply removing the highest cell values, these values can also be replaced by a substitute value.
An example application is surface soil cleanup, where the highest soil contaminant concentrations are removed until targeted post-remediation concentrations are reached. In this case, the substitute value would be set to the concentration of clean fill.
- Author: V. Wichmann (c) 2020
- Menu: Grid|Analysis
Parameters
| Name | Type | Identifier | Description | Constraints |
Input | Input | grid, input | INPUT | Grid to analyse. | - |
Output | Removed Cells | grid, output | REMOVED | Output grid showing the removed cells (1/NoData). | - |
Output (*) | grid, output, optional | OUTPUT | The modified input grid. | - |
Options | Grid System | grid system | PARAMETERS_GRID_SYSTEM | - | - |
Target Average | floating point number | TARGET | The target average. | Default: 100.000000 |
Method | choice | METHOD | Choose a mode of operation. | Available Choices: [0] remove cell values [1] replace cell values Default: 0 |
Substitute Value | floating point number | SUBSTITUTE | The value with which the removed cell values are replaced. | Default: 0.000000 |
(*) optional |
Command-line
Usage: saga_cmd grid_analysis 29 [-INPUT <str>] [-REMOVED <str>] [-OUTPUT <str>] [-TARGET <double>] [-METHOD <str>] [-SUBSTITUTE <double>]
-INPUT:<str> Input
grid, input
-REMOVED:<str> Removed Cells
grid, output
-OUTPUT:<str> Output
grid, output, optional
-TARGET:<double> Target Average
floating point number
Default: 100.000000
-METHOD:<str> Method
choice
Available Choices:
[0] remove cell values
[1] replace cell values
Default: 0
-SUBSTITUTE:<double> Substitute Value
floating point number
Default: 0.000000