Model components and methods#
When making a SFINCS model, you need to create multiple input files. With the HydroMT SFINCS plugin, you can easily make these SFINCS model schematizations. This plugin helps you preparing or updating several model components of a SFINCS model such as topography/bathymetry, roughness, infiltration maps and dynamic waterlevel and discharge forcing.
Model components#
The following table provides an overview of which SfincsModel
model data component (attribute) contains which SFINCS 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.
For more information about each file, see the SFINCS documentation.
|
SFINCS files |
---|---|
sfincs.inp |
|
depfile, mskfile, indexfile, manningfile, qinffile, scsfile |
|
|
sbgfile |
obsfile, thdfile, weirfile |
|
bndfile, bzsfile, srcfile, disfile, precipfile, netbndbzsbzifile, netsrcdisfile, netamprfile, netampfile, netamuamvfile |
|
inifile, rstfile (not yet implemented) |
|
sfincs_his.nc, sfincs_map.nc |
Please be aware that the indexfile is not included in the grid dataset. Instead, it is generated during the writing process based on the mskfile, and it is utilized for the purpose of reading grid variables.
Model setup methods#
An overview of the available SFINCS 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.
General setup methods#
|
Explanation |
---|---|
Update SFINCS config (sfincs.inp) with a dictionary. |
|
This component generates a user-defined model grid. |
|
This component automatically generates a model grid covering the region of interest with a given resolution. |
Grid setup methods#
|
Explanation |
---|---|
This component interpolates topobathy (depfile) data to the model grid. |
|
This component generates a mask (mskfile) defining which part of the model grid is active based on elevation criteria and/or polygons. |
|
This component adds boundary cells in the model mask (mskfile) based on elevation criteria and/or polygons. |
|
This component adds boundary cells in the model mask (mskfile) where a river flows out of the model domain. |
|
This component adds a Manning roughness map (manningfile) to the model grid based on gridded Manning roughness data or a combinataion of gridded land-use/land-cover map and a Manning roughness mapping table. |
|
This component adds a spatially varying constant infiltration rate map (qinffile) to the model grid. |
|
This component adds a potential maximum soil moisture retention map (scsfile) to the model grid based on a gridded curve number map. |
|
This component generates subgrid tables (sbgfile) for the model grid based on a list of elevation and Manning roughness datasets |
Geoms setup methods#
|
Explanation |
---|---|
This component adds observation points to the model (obsfile). |
|
This component adds line element structures to the model (thdfile, weirfile). |
Forcing setup methods#
|
Explanation |
---|---|
This component adds waterlevel boundary points (bndfile) along model waterlevel boundary (msk=2). |
|
This component adds waterlevel forcing (bndfile, bzsfile) from a geodataset (geospatial point timeseries) or a tabular timeseries dataframe. |
|
This component adds discharge points (srcfile) where a river enters the model domain. |
|
This component adds discharge forcing (srcfile, disfile) from a geodataset (geospatial point timeseries) or a tabular timeseries dataframe. |
|
This component adds discharge forcing (srcfile, disfile) based on a gridded discharge dataset. |
|
This component adds spatially uniform precipitation forcing (precipfile). |
|
This component adds precipitation forcing from a gridded spatially varying data source (netamprfile). |
Other setup methods#
|
Explanation |
---|---|
This component generates webmercator index and topobathy tiles for visualization of the SFINCS model. |