geedim.collection.MaskedCollection.from_list

classmethod MaskedCollection.from_list(image_list: List[str | MaskedImage | Image], add_props: List[str] = None) MaskedCollection

Create a MaskedCollection instance from a list of Earth Engine image ID strings, ee.Image instances and/or MaskedImage instances. The list may include composite images, as created with composite().

Images from spectrally compatible Landsat collections can be combined i.e. Landsat-4 with Landsat-5, and Landsat-8 with Landsat-9. Otherwise, images should all belong to the same collection.

Any ee.Image instances in the list (including those encapsulated by MaskedImage) must have system:id and system:time_start properties. This is always the case for images obtained from the Earth Engine catalog, and images returned from composite(). Any other user-created images passed to from_list() should have these properties set.

Parameters:
  • image_list (list) – List of images to include in the collection (must all be from the same, or compatible Earth Engine collections). List items can be ID strings, instances of MaskedImage, or instances of ee.Image.

  • add_props (list of str, optional) – Additional Earth Engine image properties to include in properties.

Returns:

A MaskedCollection instance.

Return type:

MaskedCollection