You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To run WflowJl I've added a update_until() function in the eWaterCycleModel class alongside the update()function. Is there a reason why update_until() is left out as a BMI function? If not it would be great to have it included in a next release so I don't need to make offline adjustments.
The function I added is
def update_until(self, time:float) -> None:
"""Advance model state until time"""
self._bmi.update_until(time)
Thanks!
The text was updated successfully, but these errors were encountered:
I think not all functions have been reimplemented in the eWaterCycleModel class because the bmi is still available, and we would want to hide some functionality from end users (e.g. get_grid_size). However this is mainly not clearly explained in the documentation, and I do think that update_until should be re-exposed. It was probably just forgotten (and usually we have been extracting the streamflow each timestep anyway.
Hi Bart, thanks for the clarification. I didn't realize I could also do model.bmi.update_until(), that works and solves my problem so I'll close this issue if you agree.
To run WflowJl I've added a
update_until()
function in the eWaterCycleModel class alongside theupdate()
function. Is there a reason whyupdate_until()
is left out as a BMI function? If not it would be great to have it included in a next release so I don't need to make offline adjustments.The function I added is
Thanks!
The text was updated successfully, but these errors were encountered: