eomatch.mu_stac.MatchupCatalogue.add_event_collection_asset

eomatch.mu_stac.MatchupCatalogue.add_event_collection_asset#

MatchupCatalogue.add_event_collection_asset(event: MatchupEvent, asset_key: str, asset: Asset) bool[source]#

Add or replace a STAC asset on the matchup-events Collection (e.g. matchup-events-LANDSAT_C2L1-vs-S3_EFR).

Parameters:
  • event – any MatchupEvent from the target collection; its collections determine which Collection is updated.

  • asset_key – asset key, e.g. "summary".

  • assetpystac.Asset to register.

Returns:

True if the collection was found and updated, False if not found.