-
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
Remove outdated cmor_table facet from data finder tests #1798
Conversation
Codecov Report
@@ Coverage Diff @@
## main #1798 +/- ##
=======================================
Coverage 91.51% 91.51%
=======================================
Files 202 202
Lines 10908 10908
=======================================
Hits 9982 9982
Misses 926 926 Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
it still is, I don't understand this - CMIP5 CMOR tables are totally different from CMIP6 CMOR tables, it's just that the handling is done better on our side |
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 @bouweandela 🍺 There are some more instances of cmor_table
in tests/integration/test_recipe.py
- do we still need those?
Yes, they are function arguments to preprocessor functions |
@ESMValGroup/technical-lead-development-team could someone please do a final check and merge? |
What do you mean by that? For convenience, internally we have a project that has a certain name but that follows a version of the CMIP6 tables. These changes only affect the tests, but is any further work going to affect the ability of having custom named projects that may follow tables that don't have the same name? |
This is getting all X-Files now, guys - I was a bit puzzlated by what Bouwe was on about too, but since this is just some test fixing, I thinks it's OK |
I mean that the
No. I need to make some changes to esmvalcore/_data_finder.py in #1609 to support wildcard searches, that's why I was looking at the tests and noticed this bit of ancient history and decided to remove it. |
Great, thanks! I will merge now |
Description
This removes the
cmor_table
facet from the esmvalcore/_data_finder.py tests. A long time ago, the CMOR table could be different from the project. This is no longer the case, so it can be removed.This also adds
hist
to the list of ignored spelling mistakes, because that raised incorrect warnigns with the pre-commit hook for codespell while trying to commit this change.Part of #1609
Before you get started
Checklist
It is the responsibility of the author to make sure the pull request is ready to review. The icons indicate whether the item will be subject to the 🛠 Technical or 🧪 Scientific review.
To help with the number pull requests: