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