hydromt_wflow.WflowModel.write#
- WflowModel.write(config_filename: str | None = None, grid_filename: str | None = None, geoms_folder: str | None = 'staticgeoms', forcing_filename: str | None = None, states_filename: str | None = None)[source]#
Write the complete model schematization and configuration to file.
From this function, the output filenames/folder of the different components can be set. If not set, the default filenames/folder are used.
To change more advanced settings, use the specific write methods directly.
- Parameters:
config_filename (str, optional) – Name of the config file, relative to model root. By default None to use the default name.
grid_filename (str, optional) – Name of the grid file, relative to model root/dir_input. By default None to use the name as defined in the model config file.
geoms_folder (str, optional) – Name of the geoms folder relative to grid_filename (ie model root/dir_input). By default ‘staticgeoms’.
forcing_filename (str, optional) – Name of the forcing file relative to model root/dir_input. By default None to use the name as defined in the model config file.
states_filename (str, optional) – Name of the states file relative to model root/dir_input. By default None to use the name as defined in the model config file.