hydromt.data_catalog.DataCatalog.add_source#

DataCatalog.add_source(source: str, adapter: DataAdapter) None[source]#

Add a new data source to the data catalog.

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

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

  • adapter (DataAdapter) – DataAdapter object.