hydromt_delwaq.workflows.config.base_config#

hydromt_delwaq.workflows.config.base_config(nrofseg: int, nrofexch: int = 0, layer_name: str = 'EM', add_surface: bool = False, boundaries: List[str] = None, boundaries_type: List[str] = None, fluxes: List[str] = None, volumes: List[str] = None) Dict[source]#

Prepare base config dictionnary.

Files concerned: - B3_nrofseg: Number of segments. - B3_attributes: Delwaq complete attributes. - B4_nrofexch: Number of exchanges. - B5_boundlist: List of boundaries and types. - B7_surf (optional): Surface data. - B7_flow (optional): Flow name(s). - B7_volume (optional): Volume name(s).

Parameters:
  • nrofseg (int) – Number of segments.

  • nrofexch (int, optional) – Number of exchanges, by default 0 (for demission).

  • layer_name (str, optional) – Layer name for example for surface water or emission substance, by default “EM”.

  • add_surface (bool, optional) – Add surface config, by default False.

  • boundaries (List[str], optional) – List of boundaries IDs (numbers). If None, no boundary data is added to B5_boundlist. By default None.

  • boundaries_type (List[str], optional) – List of boundaries types matching the order in boundaries. By default None.

  • fluxes (List[str], optional) – List of fluxes to add to B7_flow if fluxes is not None. By default None.

  • volumes (List[str], optional) – List of volumes to add to B7_volume if volumes is not None. By default None.

Returns:

config – Base Config dictionnary.

Return type:

Dict