eomatch.mu_stac.MatchupCatalogue.remove_collection_asset#
- MatchupCatalogue.remove_collection_asset(collection_id: str, asset_key: str, delete_file: bool = True) bool[source]#
Remove a STAC asset from a child Collection, optionally deleting the local file.
- Parameters:
collection_id – ID of the child Collection to update.
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.