hydromt_wflow.WflowModel.read#

WflowModel.read(config_filename: str | None = None, geoms_folder: str = 'staticgeoms')[source]#

Read components from disk.

From this function, the input filenames/folder of the config and geoms components can be set. For the others, the filenames/folder as defined in the config file are used.

To change more advanced settings, use the specific read methods directly.

Parameters:
  • config_filename (str | None, optional) – Name of the config file, relative to model root. By default None to use the default name.

  • geoms_folder (str | None, optional) – Name of the geoms folder relative to grid_filename (ie model root/dir_input). By default ‘staticgeoms’.