Sum the values of the four surrounding cells.
Result = window4total(expression)
For each cell sums the values of the four cells which lie above, below, left and right of the cell and assigns the sum to the cell.
If there is no cell or a cell with a missing value in any of the directions it is taken as a zero.
- • pcrcalcbindingResult1 = Result1.map;Expr1 = Expr1.map;initialreport Result1 = window4total(Expr1);• pythonExpr1 = readmap(“Expr1.map”)Result1 = window4total(Expr1)