-
Notifications
You must be signed in to change notification settings - Fork 38
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
Implement three levels of CMOR checks strictness #374
Conversation
…with differing cmor checks strictness levels
@sloosvel and @jvegasbsc pls have a look at what I haz so far - I introduced the STRICT CMOR error ( |
Thanks @valeriupredoi for starting the work. I am going to test it to fully understand what is being done. |
I think that the messages are a bit confusing, the distinction between regular and strict errors is something that you have come up with according to your own judgement, not something that is given by cmor. I would keep the messages as they are now, with the only changes being the way they will get reported (warning / error) according to the flag. I can try it for instance with the standard_name to see better how this will work. |
hi @sloosvel sorry for the late reply, I was out yesterday. Correct, the messages are my interpretation, please feel free to change as you think it's fit 🍺 Also, please take it from here with the changes for the different levels in #338 - as it's now all's let to be done is to replace |
Co-Authored-By: Bouwe Andela <[email protected]>
regular tests now pass, current fail due to py3.8/numba, PR #376 |
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 adressing all the comments! @mattiarighi Could you please test? I have looked through most of the code twice, but it's a lot of changes.
What would be a good strategy for testing this? |
wow boy am glad to see this ready for testing - awesome work guys! I recommend using a few datasets that we don't have fixes for yet and would normally fail a number of checks and running with different strictness levels. I can think of the HIRES mip's data that is, by all means, okay from a CF point of view but quite down with the sickness from a CMOR standard. I can post a recipe here in a few minutes |
eg @mattiarighi do you have access to these models on DKRZ (I ran them on Jasmin but not sure if you have them on DKRZ too):
|
I tested using this issue as a test case:
I'm not sure the above issue is the right test case, though. |
It is not, because it is an iris issue that is making us fail in an automatic fix |
Ok, I'll look for a different test case. |
lemme test with the HIRES/LOWRES Primavera models |
OK for
|
Unfortunately I can not reproduce any other data issues with these types because the HIRES Primavera guys did their job and corrected/updated the data in Dec-Jan, well done to them 🍺 |
PRIMAVERA people is very professional and competente. Don't you agree, @sloosvel? 😄 |
Handling of a regular data issue we see from #537
Guys, am happy with the tests - if @mattiarighi is OK I reckon it's safe to merge - and well done, this is a very useful bit of shtuff! 🍺 |
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.
Really nice stuff !
Before you start, please read CONTRIBUTING.md.
Tasks
yamllint
to check that your YAML files do not contain mistakesIf you need help with any of the tasks above, please do not hesitate to ask by commenting in the issue or pull request.
Closes #338