hydromt_sfincs.SfincsModel.read_config#

SfincsModel.read_config(config_fn: str = 'sfincs.inp', epsg: int | None = None) None[source]#

Parse config from SFINCS input file. If in write-only mode the config is initialized with default settings.

Parameters:
  • config_fn (str) – Filename of config file, by default “sfincs.inp”. If in a different folder than the model root, the root is updated.

  • epsg (int) – EPSG code of the model CRS. Only used if missing in the SFINCS input file, by default None.