eomatch.mu_stac.MatchupCatalogue.open#
- classmethod MatchupCatalogue.open(path: str, context: EOMatchContext | None = None) MatchupCatalogue[source]#
Open an existing catalogue from a root
catalog.jsonpath.The catalogue root directory is inferred from
pathand used to initialiseproduct_fsso thatdownload_products()works without further configuration.- Parameters:
path – path to the catalogue’s root
catalog.json(or its directory).context –
EOMatchContextto attach to the reopened catalogue – passed on to the products it reconstructs (seefrom_stac_item()), since a product rebuilt from a STAC item has only a bare default context, so the archive path / provider pinning / site registry a run configured has to come from here. Defaults toEOMatchContext()(package defaults + user config only).
- Returns:
the reopened catalogue.