[X] I have checked that this issue has not already been reported.
[X] I have checked that this bug exists on the latest version of HydroMT-Wflow.
Reproducible Example
try to read/write geoms if dir_input is "input" in toml
Current behaviour
In the wflow toml, all input can be located in a separate folder using the dir_input argument in the toml.
We take this into account for grid / staticmaps:
But not for staticgeoms. For staticgeoms, we assume the geoms folder is in the same path as staticmaps file but we do not take dir_input into account. So then the model geoms are not read.
Desired behaviour
Allow to read/write geoms if dir_input is set in the toml file.
HydroMT-Wflow version checks
Reproducible Example
try to read/write geoms if dir_input is "input" in toml
Current behaviour
In the wflow toml, all input can be located in a separate folder using the dir_input argument in the toml. We take this into account for grid / staticmaps:
https://github.com/Deltares/hydromt_wflow/blob/fc83571742f5dc251cd87b4f103824d205ac7476/hydromt_wflow/wflow.py#L3131-L3142
But not for staticgeoms. For staticgeoms, we assume the geoms folder is in the same path as staticmaps file but we do not take dir_input into account. So then the model geoms are not read.
Desired behaviour
Allow to read/write geoms if dir_input is set in the toml file.
Additional context
No response