hydromt_wflow.WflowModel.write#
- WflowModel.write(config_fn: str = None, grid_fn: Path | str = 'staticmaps.nc', geoms_fn: Path | str = 'staticgeoms', forcing_fn: Path | str = None, states_fn: Path | str = 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_fn (str, optional) – Name of the config file, realtive to model root. By default None.
grid_fn (str, optional) – Name of the grid file, relative to model root/dir_input. By default ‘staticmaps.nc’.
geoms_fn (str, optional) – Name of the geoms folder relative to grid_fn (ie model root/dir_input). By default ‘staticgeoms’.
forcing_fn (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_fn (str, optional) – Name of the states file realtive to model root/dir_input. By default None to use the name as defined in the model config file.