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
Matchupfrom the target collection; its product collections determine which Collection is updated.asset_key – asset key, e.g.
"report".asset –
pystac.Assetto register.
- Returns:
Trueif the collection was found and updated,Falseif not found.