-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix pcrglob #2
Fix pcrglob #2
Conversation
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
@@ -27,9 +27,20 @@ | |||
}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah that's correct.
I think the old pcrglob didn't have version numbers and the tags of the old containers aren't numbered but named...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
😂 You are on holiday right? Who said that he was not a workaholic? Just stop working and enjoy your long weekend!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for fixing it. The notebook runs properly on my machine.
The OptionalDestBMI from grpc4bmi broke things, because the old pcrglobwb model did not have all methods implemented correctly:
get_grid_size
is missing, which can be circumvented throughget_grid_shape
.This leads to basically all util methods breaking, as well as
_bmi.get_value
if you don't specify a dest array.By overwriting the eWaterCycle methods that make use of these, we can circumvent the problem.