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/orMaskedImage
instances. The list may include composite images, as created withcomposite()
.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 byMaskedImage
) must havesystem:id
andsystem:time_start
properties. This is always the case for images obtained from the Earth Engine catalog, and images returned fromcomposite()
. Any other user-created images passed tofrom_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 ofee.Image
.add_props (list of str, optional) – Additional Earth Engine image properties to include in
properties
.
- Returns:
A MaskedCollection instance.
- Return type: