Model methods and components#
The HydroMT-Wflow plugin helps you preparing or updating several methods of a Wflow model such as topography information, landuse, soil or forcing. 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 models.
When building or updating a model from command line a model region; a model setup configuration (.yml file) with model methods and options and, optionally, a data sources (.yml) file should be prepared.
Model setup methods#
An overview of the available Wflow model setup methods is provided in the table below. When using HydroMT from the command line only the setup methods are exposed. Click on a specific method see its documentation.
Method |
Explanation |
---|---|
Update config with a dictionary |
|
This component sets the region of interest and res (resolution in degrees) of the model. |
|
This component sets the all river parameter maps. |
|
This component This components adds floodplain information to the model schematization (can be either 1D or 2D). |
|
This component generates maps of lake areas and outlets as well as parameters with average lake area, depth a discharge values. |
|
This component generates maps of reservoir areas and outlets as well as parameters with average reservoir area, demand, min and max target storage capacities and discharge capacity values. |
|
This component generates maps of glacier areas, area fraction and volume fraction, as well as tables with temperature threshold, melting factor and snow-to-ice conversion fraction. |
|
This component derives several wflow maps based on landuse- landcover (LULC) data. |
|
This component derives several wflow maps based on landuse- landcover (LULC) data with paddy rice. |
|
This component sets leaf area index (LAI) climatology maps per month. |
|
This component sets leaf area index (LAI) climatology maps per month based on landuse mapping. |
|
This component derives several (layered) soil parameters based on a database with physical soil properties using available point-scale (pedo)transfer functions (PTFs) from literature with upscaling rules to ensure flux matching across scales. |
|
This component prepares ksathorfrac from existing ksathorfrac data. |
|
This component prepares ksatver from soil and vegetation parameters. |
|
This component derives an estimate of the rooting depth from hydroclimatic data (as an alternative from the look-up table). The method can be applied for current conditions and future climate change conditions. |
|
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. |
|
This method add new variable/column to the netcf/csv output section of the toml based on a selected gauge/area map. |
|
Setup gridded precipitation forcing at model resolution. |
|
Setup gridded temperature and optionally compute reference evapotranspiration forcing at model resolution. |
|
Setup gridded reference evapotranspiration forcing at model resolution. |
|
Setup constant parameter maps for all active model cells. |
|
Create water demand allocation areas. |
|
Create fraction of surface water used for allocation of the water demands. |
|
Create domestic water demand. |
|
Create other water demand (eg industry, livestock). |
|
Create irrigation areas and trigger for paddy and nonpaddy crops. |
|
Setup subbasins and gauges to save results from wflow to be used in 1D river models. |
|
Setup staticmaps from raster to add parameters from direct data. |
|
Setup wflow cold states based on data in staticmaps. |
Model components#
The following table provides an overview of which WflowModel
component contains which Wflow 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 files |
---|---|
wflow_sbm.toml |
|
staticmaps.nc |
|
geometries from the staticgeoms folder (basins.geojson, rivers.geojson etc.) |
|
inmaps.nc |
|
instates.nc |
|
tabular data (csv format, e.g. lake_hq.csv, lake_sh.csv) |
|
output.nc, output_scalar.nc, output.csv |
|
|
staticmaps.nc |
|
geometries from the staticgeoms folder (basins.geojson, rivers.geojson etc.) |