eomatch.mu_stac.MatchupCatalogue.remove_event_collection_asset#
- MatchupCatalogue.remove_event_collection_asset(event: MatchupEvent, asset_key: str, delete_file: bool = True) bool[source]#
Remove a STAC asset from the matchup-events Collection, optionally deleting the local file.
- Parameters:
event – any
MatchupEventfrom the target collection.asset_key – asset key to remove.
delete_file – if
True(default), delete the local file or directory.
- Returns:
Trueif the asset was found and removed,Falseotherwise.