hydromt.data_catalog.DataCatalog.add_source#

DataCatalog.add_source(name: str, source: DataSource) None[source]#

Add a new data source to the data catalog.

The data version and provider are extracted from the DataSource object.

Parameters:
  • name (str) – Name of the data source.

  • source (DataSource) – DataSource object.