Grid Calculator
- grid.calc
Input:
- grids – Grid
- expression – Grid-Calc-Expression
- type – String
Output:
- output – Grid
Performs calculations on one or more grids according to the expression
.
To do this, the dimensions of the input grids must be equal.
Input data is repeated if different numbers of grids are applied to the inputs.
If the parameter type
is not set, the data type of the first grid is used.
The expression
is formulated as a S-expression. Different mathematical functions
and logical operators can be used.
Further information and examples can be found in the user manual.
For example the expression (+ (read 0) (read 1 1))
adds the first input grid
and the first band of the second grid.