Model methods and components#
This plugin helps you preparing or updating several components of a Wflow Sediment model such as topography information, landuse or soil. The main interactions are available from the HydroMT Command Line Interface and allow you to configure HydroMT in order to build or update or clip Wflow Sediment models.
When building or updating a model from command line a model region; a model setup configuration (.yml file) with model components and options and, optionally, a data sources (.yml) file should be prepared.
Model setup methods#
An overview of the available Wflow Sediment model setup components is provided in the tables below. When using HydroMT from the command line only the setup components are exposed. Click on a specific method see its documentation.
Configuration (TOML)#
Method |
Explanation |
Required Setup Method |
|---|---|---|
Update config with a dictionary |
||
This method add a new variable/column to the netcf/csv output section of the toml based on a selected gauge/area map. |
||
Setup constant parameter maps. |
Topography and Rivers#
Method |
Explanation |
Required Setup Method |
|---|---|---|
This component sets the region of interest and res (resolution in degrees) of the model. |
||
This component sets the all river parameter maps. |
||
Setup sediments based river bed characteristics maps. |
Reservoirs#
Method |
Explanation |
Required Setup Method |
|---|---|---|
This component generates maps of lake (natural reservoirs) areas and outlets as well as parameters such as average area. |
||
This component generates maps of reservoir areas and outlets as well as parameters such as average area. |
Land Use and Vegetation#
Method |
Explanation |
Required Setup Method |
|---|---|---|
This component derives several wflow maps based on landuse- landcover (LULC) raster data. |
||
This component derives several wflow maps based on landuse- landcover (LULC) vector data. |
||
Setup sediments based canopy height maps. |
Soil#
Method |
Explanation |
Required Setup Method |
|---|---|---|
Setup sediments based soil parameter maps. |
Output Locations#
Method |
Explanation |
Required Setup Method |
|---|---|---|
This method sets the default gauge map based on basin outlets. |
||
This method sets the default gauge map based on a gauges_fn data. |
||
Setup area map from vector data to save wflow outputs for specific area. |
Other methods#
Method |
Explanation |
Required Setup Method |
|---|---|---|
Setup staticmaps from raster to add parameters from direct data. |
||
Upgrade a model from a Wflow.jl 0.x to 1.0 . |
||
Clip a sub-region of an existing model. |
Model components#
The following table provides an overview of which WflowSedimentModel
components contains which Wflow Sediment in- and output files. The files are read and written with the associated
read- and write- methods, i.e. read_config()
and write_config() for the
config component.
|
Wflow sediment files |
|---|---|
|
wflow_sediment.toml |
|
staticmaps.nc |
|
geometries from the staticgeoms folder (basins.geojson, rivers.geojson etc.) |
|
inmaps.nc |
|
instates.nc |
|
output.nc (defined in [output.netcdf_grid] TOML section) |
|
output_scalar.nc (defined in [output.netcdf_scalar] TOML section) |
|
output.csv (defined in [output.csv] TOML section) |