-
Notifications
You must be signed in to change notification settings - Fork 39
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 overwriting in generic level check #886
Conversation
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.
Works perfectly fine now, thanks @sloosvel for the quick fix! 👍 I tested this with around 40 CMIP5 and CMIP6 models (let the recipe run for ~10 times) with no issues.
I have one small optimization for the code.
@sloosvel and @schlunma yous are legends, cheers for the quick turnaround. Saskia, let me know when you ready with the suggestion from Manuel and I can merge - I think this is a very nice fix and I would like to include this in the bugfix release that @bouweandela and myself will do tomorrow so it'd be nice if you addressed Manu's suggestion pronto-pronto 😁 |
Co-authored-by: Manuel Schlund <32543114+schlunma@users.noreply.github.com>
@valeriupredoi There is no need to rush this, as the bug is not in a released version. |
ah right you are @bouweandela - I was under the impression we've released it already - ok, then we can wait, sorry for hurrying you @sloosvel 😀 |
Before you start, please read our contribution guidelines.
Tasks
If you need help with any of the tasks above, please do not hesitate to ask by commenting in the issue or pull request.
The previous implementation was working directly with the dict containing the CMOR information. This led to accidental overwritting of the dict values in some runs and ended up causing incorrect reporting of errors. Tested with several datasets and variables and it seems that this issue does not happen anymore, but should be double checked of course.
Closes #883