hydromt.data_catalog.DataCatalog.get_source#

DataCatalog.get_source(source: str, provider: str | None = None, version: str | None = None) DataAdapter[source]#

Return a data source.

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

  • provider (str, optional) – Name of the data provider, by default None. By default the last added provider is returned.

  • version (str, optional) – Version of the data source, by default None. By default the newest version of the requested provider is returned.

Returns:

DataAdapter object.

Return type:

DataAdapter