-
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
Improve error messages when data is missing #917
Conversation
A (very small) sample of the output you get when trying to run ''recipe_perfmetrics_CMIP5.yml" in a laptop with virtually no data:
|
nice initiative @jvegasbsc - do you remember the old dry-run PR we worked on back in pre-pandemic times? #307 - I think we should have a go at making the dry run work proper since that is offering a lot to the user (cmor checks and all). What do you think would be a good strategy - the old PR is obviously very old - should we revive it or we can implement bits of that functionality here? |
I see this as complimentary to the dry-run: this just tell you which data are you missing, the dry run will tell you which data needs to be fixed. I think we can get this and then focus on the other. |
The branch name is misleading because I started thinking on doing both at the same time but then realize it will be better to do it in separated PR |
right you are @jvegasbsc - I will try revive that dry-run PR in the coming days, am dreading the amount of conflicts I'll get at merge master 😆 |
I think it will be great to have this for v2.2, specially to help us with all the tesing. Anybody in the @ESMValGroup/technical-lead-development-team @ESMValGroup/scientific-lead-development-team can find a bit of time to test it today? Just try to run a recipe that you don't have all the data for (check_obs is great for that) |
will be testing on JASMIN, am just recreating the env for iris3 right now 👍 |
sorry man, JASMIN is painfully slow today - am still running the |
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.
Worked nicely for me on Mistral using the check_obs recipe! Also no spelling mistakes in the code changes ;)
Definitely in favour of merging this for the release, useful tool to have.
* First attempt at a better error messages when data is missing * Fix tests * Fix codacy issues * Refactor exception handling and fix tests * Remove some codacy warnings
Description
This pull request improves the error message shown when data is missing. In particular, ESMValCore is now able to show all missing data in one run
Before you get started
Checklist
pre-commit
oryamllint
checks