-
Notifications
You must be signed in to change notification settings - Fork 5
Polish irrigation example notebook #180
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
Conversation
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
@@ -2,37 +2,47 @@ | |||
"cells": [ |
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.
Yes, great suggestion!
@@ -2,37 +2,47 @@ | |||
"cells": [ |
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.
Instead of hardcoding lat/lon. Can we use grdc_latitude
and grdc_longitude
vars instead?
Reply via ReviewNB
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.
check
@@ -2,37 +2,47 @@ | |||
"cells": [ |
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.
Hard to see that lines 1,4,5 are the concept due to lots of plotting code. Can the cell be split on line 6 and the comment be promoted to Markdown?
Reply via ReviewNB
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.
Okay
@@ -2,37 +2,47 @@ | |||
"cells": [ |
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.
Instead of hardcoding lat/lon. Can we use grdc_latitude
and grdc_longitude
vars instead?
Reply via ReviewNB
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.
check
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.
Was able to run the notebook successfully.
Made some suggestions in reviewnb.
Might also be nice to use a lat/lon bounding box instead of index range ([31:41, 18:28]
).
Spawned off #182
Kudos, SonarCloud Quality Gate passed! |
@sverhoeven all suggestions applied except for |
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.
I like the description for running the experiment, much clearer.
Yep lets merge this PR and work on #185 later as its less critical. |
Using the updated API. Didn't change much about the notebook itself since it was already quite nice.
(branched off a previous PR so hence the many commits).
https://ewatercycle--180.org.readthedocs.build/en/180/examples/Irrigation.html