eomatch.mu_stac.MatchupCatalogue.save

eomatch.mu_stac.MatchupCatalogue.save#

MatchupCatalogue.save(path: str | None = None, catalog_type: CatalogType = 'SELF_CONTAINED') None[source]#

Normalise hrefs and write the catalogue to disk.

Items are laid out as {collection}/{YYYY}/{M}/{D}/{item-id}.json with no per-item subdirectory.

Parameters:

path – root directory to save to. Defaults to the path set at construction.

Raises:

ValueError – if no path is available.