MCPcopy
hub / github.com/google/earthengine-api / getArray

Method getArray

python/ee/ee_list.py:242–255  ·  view source on GitHub ↗

Returns the array at the specified position in list. If the value is not a array, an error will occur. Args: index: Offset from where to get the element. A negative index counts backwards from the end of the list. Returns: An ee.Array.

(self, index: _arg_types.Integer)

Source from the content-addressed store, hash-verified

240 return apifunction.ApiFunction.call_(self.name() + '.get', self, index)
241
242 def getArray(self, index: _arg_types.Integer) -> ee_array.Array:
243 """Returns the array at the specified position in list.
244
245 If the value is not a array, an error will occur.
246
247 Args:
248 index: Offset from where to get the element. A negative index counts
249 backwards from the end of the list.
250
251 Returns:
252 An ee.Array.
253 """
254
255 return apifunction.ApiFunction.call_(self.name() + '.getArray', self, index)
256
257 def getGeometry(self, index: _arg_types.Integer) -> geometry.Geometry:
258 """Returns the geometry at the specified position in list.

Callers 5

test_get_arrayMethod · 0.45
test_getArrayMethod · 0.45
test_get_arrayMethod · 0.45
getPolygonCoordinatesMethod · 0.45
getCoordinatesFunction · 0.45

Calls 2

nameMethod · 0.95
call_Method · 0.80

Tested by 3

test_get_arrayMethod · 0.36
test_getArrayMethod · 0.36
test_get_arrayMethod · 0.36