SFINCS model: General
With the hydromt_sfincs plugin, you can easily work with 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.
When building or updating a model from command line a model region; a model setup configuration (.ini file) with model components and options and, optionally, a data sources (.yml) file should be prepared.
The SFINCS model components are available from the HydroMT Command Line and Python Interfaces and allow you to configure HydroMT in order to build or update SFINCS model schematizations. See Coastal SFINCS model schematization and Riverine SFINCS model schematization for suggested components and options to use for coastal or riverine applications.
Note that the order in which the components are listed in the ini file is important:
setup_topobathy should always be run first to determine the model grid
if discharge location are inferred from hydrography, setup_river_inflow should be run before setup_q_forcing or setup_q_forcing_from_grid.
For python users all SFINCS attributes and methods are available, see SFINCS model class
SfincsModel setup components
An overview of the available SfincsModel setup components, workflows and low-level methods is provided in the table below. When using hydromt from the command line only the setup components are exposed. Click on header to get a full overview or directly on a specific method see its documentation.
SFINCS file |
|||
---|---|---|---|
model region |
|
|
|
sfincs.inp |
|
|
|
depfile |
|
||
mskfile |
|||
indfile |
|||
manningfile |
|||
scsfile |
|||
obsfile |
|||
thd- & weirfile |
|
SFINCS file |
|||
---|---|---|---|
bnd- & bzsfile |
|||
src- & disfile |
|
||
precipfile |
|
||
netamprfile |
|
1) Imported from hydromt core package
SFINCS datamodel
The following table provides an overview of which SfincsModel
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
attribute.
Note that the indfile is not part of the staticmaps dataset but created based on the mskfile upon writing and used for reading staticmaps.
|
SFINCS files |
---|---|
sfincs.inp |
|
depfile, mskfile, manningfile, qinffile, scsfile |
|
obsfile, thdfile, weirfile |
|
bndfile, bzsfile, srcfile, disfile, precipfile, netamprfile |
|
inifile |
|
sfincs_his.nc, sfincs_map.nc |