hydromt_wflow.WflowModel.write_grid#
- WflowModel.write_grid(fn_out: str | Path | None = None)[source]#
Write grid to wflow static data file.
Checks the path of the file in the config toml using both
input.path_staticanddir_input. If not found uses the default pathstaticmaps.ncin the root folder.- Parameters:
fn_out (Path, str, optional) – Name or path to the outgoing grid file (including extension). This is the path/name relative to the root folder and if present the
dir_inputfolder.