eomatch.mu_stac.MatchupCatalogue.add_matchup_collection_asset

eomatch.mu_stac.MatchupCatalogue.add_matchup_collection_asset#

MatchupCatalogue.add_matchup_collection_asset(matchup: Matchup, asset_key: str, asset: Asset) bool[source]#

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

Use this to attach collection-level results — aggregated statistics, processing reports, or any artefact that belongs to the sensor-pair collection rather than a single matchup Item.

Parameters:
  • matchup – any Matchup from the target collection; its product collections determine which Collection is updated.

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

  • assetpystac.Asset to register.

Returns:

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