geetools.Array.ArrayAccessor.full#
- geetools.Array.ArrayAccessor.full(width, height, value)#
Create an array with the given dimensions, initialized to the given value.
- Parameters:
width (geetools.types.ee_number) – The width of the array.
height (geetools.types.ee_number) – The height of the array.
value (geetools.types.ee_number) – The value to initialize the array with.
- Returns:
An array with the given dimensions, initialized to the given value.
- Return type:
ee.Array
Examples
import ee, geetools ee.Initialize() arr = ee.Array.geetools.full(3, 3, 1) arr.getInfo()