hydromt_wflow.WflowSedimentModel.setup_basemaps#

WflowSedimentModel.setup_basemaps(region, res=0.008333333333333333, hydrography_fn='merit_hydro', basin_index_fn='merit_hydro_index', upscale_method='ihu')#

This component sets the region of interest and res (resolution in degrees) of the model. All DEM and flow direction related maps are then build.

If the model resolution is larger than the source data resolution, the flow direction is upscaled using the upscale_method, by default the Iterative Hydrography Upscaling (IHU). The default hydrography_fn is “merit_hydro” (MERIT hydro at 3 arcsec resolution) Alternative sources include “merit_hydro_1k” at 30 arcsec resolution. Users can also supply their own elevation and flow direction data in any CRS and not only EPSG:4326.

Note that in order to define the region, using points or bounding box, the coordinates of the points / bounding box should be in the same CRS than the hydrography data. The wflow model will then also be in the same CRS than the hydrography data in order to avoid assumptions and reprojection errors. If the user wishes to use a different CRS, we recommend first to reproject the hydrography data seperately because calling hydromt build. You can find examples on how to reproject or prepare hydrography data in the prepare flow directions example notebok <https://deltares.github.io/hydromt_wflow/latest/_examples/prepare_ldd.html>.

Adds model layers:

  • wflow_ldd map: flow direction in LDD format [-]

  • wflow_subcatch map: basin ID map [-]

  • wflow_uparea map: upstream area [km2]

  • wflow_streamorder map: Strahler stream order [-]

  • wflow_dem map: average elevation [m+REF]

  • dem_subgrid map: subgrid outlet elevation [m+REF]

  • Slope map: average land surface slope [m/m]

  • basins geom: basins boundary vector

  • region geom: region boundary vector

Parameters:
  • hydrography_fn (str) –

    Name of data source for basemap parameters.

    • Required variables: [‘flwdir’, ‘uparea’, ‘basins’, ‘strord’, ‘elevtn’]

    • Optional variables: [‘lndslp’, ‘mask’]

  • basin_index_fn (str) – Name of data source for basin_index data linked to hydrography_fn.

  • region (dict) – Dictionary describing region of interest. See :py:function:~basin_mask.parse_region for all options

  • res (float) – Output model resolution

  • upscale_method ({'ihu', 'eam', 'dmm'}) – Upscaling method for flow direction data, by default ‘ihu’.

See also

hydromt.workflows.parse_region, hydromt.workflows.get_basin_geometry, workflows.hydrography, workflows.topography