-
Notifications
You must be signed in to change notification settings - Fork 2
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
Hydrolib core update #139
Hydrolib core update #139
Conversation
…es to inconvenient values
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 this @veenstrajelmer !
Indeed no need to update the docs or changelog for internal changes. Maybe when we release in the main message it may be nice to mention that several dependencies versions have been updated but for now no need.
For your remaining issue with the mdu file, I'm not sure what is the best way to go. I guess you mean the values with -999? Does hydrolib-core have defaults for these? We can then use the same. Or should the line somehow just be deleted? Or should we come up with our own default somehow or allow the user to add that value in the linked setup function?
Indeed, I meant the Furthermore, I implemented usage of |
|
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.
Looks good. As Hélène mentioned in PR133, I should check if there are no conflicts. So I will address those after this one has been merged into main.
Personally I am not aware of the implications of changing the default values and the differences between . and "", and when to use -999, so either are fine for me. I think given the timeline with the DSD, it is nicer to give priority to getting the package version of hydrolib-core up to the newer version, and create a new issue for the mdu default values. That way, we can also address future improvement this week in an enviroment with all packages as up to date as possible
I agree, I have created issue #148 to update the expected values. The only thing left is add the meshkernel |
Point cross-sections are supported by the code, but missing in some calls. So I added them! I noticed them missing in my test model.
…pin versions anyway
Quality Gate passedIssues Measures |
Issue addressed
Fixes #130
Might also fix 111 >> to be checked
Explanation
This PR entails an update for hydrolib-core calls to be able to work with hydrolib-core 0.8.0
Checklist
main
Status: several sources for failing tests have been resolved, see issue #130 for an overview. There is only the model validation that fails (
mod0._test_equal
gives errors). This was worked around by updating some mdu keyword values in the two mdu files, but these values are not always realistic. Let's discuss this.Furthermore, meshkernels
contacts_set
was now used somewhere in the code. The old method does not work anymore, but is also used elsewhere in the code. This does not raise errors, since it is not covered by tests, which is quite tricky.