hydromt_wflow.WflowModel.set_root

WflowModel.set_root(root, mode='w')

Initialized the model root. In read mode it checks if the root exists. In write mode in creates the required model folder structure

Parameters
  • root (str, optional) – path to model root

  • mode ({"r", "r+", "w"}, optional) – read/write-only mode for model files