-
Notifications
You must be signed in to change notification settings - Fork 3
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
ResORR plugin and minor fix for forecasting #91
Conversation
src/rat/plugins/forecasting.py
Outdated
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.
src/rat/plugins/resorr/runResorr.py
Outdated
from rat.plugins.resorr.data_prep import generate_network | ||
from resorr.data_prep import generate_forcings_from_rat, generate_network | ||
from resorr.network import ReservoirNetwork | ||
from tqdm.notebook import tqdm |
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.
This can be removed.
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.
removed. Thanks for checking the code.
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.
I have not read the ResORR code in detail. But it looks good, well-documented and error-handling also seems great.
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.
Great work. Thank you for fixing it and pushing the plugin code.
Forgot to mention it earlier - @pritamd47 or @SarathUW |
Commit 1
Fixed runtime issues with forecasting plugin
- rat fails if PLUGINS section is not present in config.
- removed unused import cfgrib statement
Commit 2
Adding the ResORR plugin to RAT