Skip to content

Commit b317912

Browse files
committedJun 6, 2014
Update gridcalculator.rst
1 parent 0b60118 commit b317912

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎python/plugins/processing/algs/saga/help/gridcalculator.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ If when calculating the value of a given cell, a no-data value appears in any of
4040
Parameters
4141
----------
4242

43-
- ``Grids[MultipleInput]``: The grids to use. They can be refered in the formula using letters (``a, b, c...``), or the letter ``g`` followed by the index number (``g1, g2, g3...``). The order for this naming is the same order as they appear in the selection window.
43+
- ``Grids[MultipleInput]``: The grids to use. They can be refered in the formula using letters (``a, b, c...``). The order for this naming is the same order as they appear in the selection window.
4444
- ``Formula[String]``: The formula to use, which can use any of the expressions listeed above.
4545

4646
Outputs
@@ -53,7 +53,7 @@ Example
5353

5454
You can for instance use the Grid Calculator module to flag 0 cells with -1:
5555

56-
``ifelse(eq(g1,0), (-1), g2)``
56+
``ifelse(eq(a,0), (-1), b)``
5757

5858
The formula reads like "if the cell is equal to zero, then write -1 else write the current value to the output grid".
5959

0 commit comments

Comments
 (0)
Please sign in to comment.