eemont.eeList.__mul__

eemont.eeList.__mul__(self, other)[source]

Returns a new list containing a list repeated n times.

Parameters
  • self (ee.List) – Left operand.

  • other (ee.Number | numeric) – Right operand.

Returns

Repeated list.

Return type

ee.List

Examples

>>> import ee, eemont
>>> ee.Authenticate()
>>> ee.Initialize()
>>> eeList1 = ee.List([1,2,3,4])
>>> eeList2 = eeList * 2
>>> eeList2.getInfo()
[1,2,3,4,1,2,3,4]