hydromt_wflow.WflowModel.upgrade_to_v1_wflow#
- WflowModel.upgrade_to_v1_wflow()[source]#
Upgrade the model to wflow v1 format.
The function reads a TOML from wflow v0x and converts it to wflow v1x format. The other components stay the same.
Lakes and reservoirs have also been merged into one structure and parameters in the resulted staticmaps will be combined.
This function should be followed by write_config() to write the upgraded file.