hydromt_wflow.WflowModel.setup_basemaps#
- WflowModel.setup_basemaps(region, res=0.008333333333333333, hydrography_fn='merit_hydro', basin_index_fn='merit_hydro_index', upscale_method='ihu')[source]#
This component sets the
region
of interest andres
(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 defaulthydrography_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. Note that only EPSG:4326 base data supported.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