hydromt.data_catalog.DataCatalog.export_data#

DataCatalog.export_data(data_root: Union[Path, str], bbox: Optional[List] = None, time_tuple: Optional[Tuple] = None, source_names: List = [], unit_conversion: bool = True, meta: Dict = {}) None[source]#

Export a data slice of each dataset and a data_catalog.yml file to disk.

Parameters:
  • data_root (str, Path) – Path to output folder

  • bbox (array-like of floats) – (xmin, ymin, xmax, ymax) bounding box of area of interest.

  • time_tuple (tuple of str, datetime, optional) – Start and end date of period of interest. By default the entire time period of the dataset is returned.

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

  • unit_conversion (boolean, optional) – If False skip unit conversion when parsing data from file, by default True.

  • meta (dict, optional) – key-value pairs to add to the data catalog meta section, such as ‘version’, by default empty.