set#
- geetools.ArrayAccessor.set(x, y, value)#
Set the value of a cell in an array.
- Parameters:
- Returns:
The array with the cell set to the given value.
- Return type:
Examples
import ee, geetools from geetools.utils import initialize_documentation initialize_documentation() array = ee.Array.geetools.full(3, 3, 1) array = array.geetools.set(1, 1, 0) array.getInfo()
[[1, 1, 1], [1, 0, 1], [1, 1, 1]]