hydromt.data_catalog.DataCatalog.from_archive#

DataCatalog.from_archive(urlpath: Path | str, version: str | None = None, name: str | None = None) DataCatalog[source]#

Read and cache a data archive including a data_catalog.yml file.

Parameters:
  • urlpath (str, Path) – Path or url to data archive.

  • version (str, optional) – Version of data archive, by default None.

  • name (str, optional) – Name of data catalog, by default None.

Returns:

DataCatalog object with parsed data archive added.

Return type:

DataCatalog