hydromt.data_catalog.DataCatalog.to_dict#

DataCatalog.to_dict(source_names: List = [], root: Optional[Union[str, Path]] = None) Dict[source]#

Export the data catalog to a dictionary.

Parameters:
  • source_names (list, optional) – List of source names to export

  • root (str, Path, optional) – Global root for all relative paths in yml file.

Returns:

data catalog dictionary

Return type:

dict