hydromt_delwaq.DelwaqModel.setup_basemaps#
- DelwaqModel.setup_basemaps(region: Dict, mask: str = 'basins', surface_water: str = 'sfw', boundaries: List[str] = ['bd'], fluxes: List[str] = ['sfw>sfw', 'bd>sfw'], maps: List[str] = ['rivmsk', 'lndslp', 'strord', 'N'])[source]#
Prepare delwaq schematization using the hydromodel region and resolution.
Maps used and derived from the hydromodel are stored in a specific hydromodel attribute. Build a D-Water Quality (“WQ”) case. The pointer will be created based on the
fluxes
list between surface water and boundaries.Adds model layers:
ldd hydromap: flow direction [-]
modelmap hydromap: mask map [bool]
ptid hydromap: unique ID of Delwaq segments [-]
river map: river mask map [-]
surface map: surface map [m2]
length map: length map [m]
width map: width map [m]
pointer poi: delwaq pointer between segments
B3_nrofseg config: number of segments
B3_attributes config: delwaq complete attributes
B4_nrofexch config: number of exchanges
B5_boundlist config: list of boundaries and types
B7_flow config: list of flow names
B7_volume config: list of volume names
- Parameters:
region (dict) – Dictionary describing region of interest. Currently supported format is {‘wflow’: ‘path/to/wflow_model’}
mask (str, optional) – Mask used to define Delwaq segments. Either “basins” (default) or “rivers”.
surface_water (str, optional) – Name of the surface water layer. Used to identify fluxes to and from surface waters in the fluxes list. By default ‘sfw’.
boundaries (list of str, optional) – List of names of boundaries to include. By default a unique boundary called ‘bd’.
fluxes (list of str) – List of fluxes to include between surface water/boundaries. Name convention is ‘{surface_water}>{boundary_name}’ for a flux from athe surface water to a boundary, ex ‘sfw>bd’. By default [‘sfw>sfw’, ‘bd>sfw’] for runoff and inwater. Names in the fluxes list should match name in the hydrology_fn source in setup_hydrology_forcing.
maps (list of str) – List of variables from hydromodel to add to grid. By default [‘rivmsk’, ‘lndslp’, ‘strord’, ‘N’].