-
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
empty ancestor list in recipe_esacci_lst
#1967
Comments
It looks like this happens because dataset
Since #1837, this information is updated from the preprocessed data to allow changing it in preprocessor functions, but this means that the input data does have to have the right variable name. I'm no expert on this topic, but I think the solution to this issue would be to update the CMORizer so it creates data with the correct variable name. |
Looks like we found an example where #1907 is relevant 😉 |
Thanks for taking a look @bouweandela! Good to see this is not really an issue for the upcoming release of the Core 👍
I also think this is the right approach here. I'll open a separate issue in the Tool. Also the metadata look wrong and would need fixing.
Maybe but I think we could try to avoid such problems when it comes to data created (CMORized) with ESMValTool |
Yeah, I also think that this should be fixed by changing the CMORizer, but if there was a warning or error in the first place then we would have see this problem much earlier (while writing the CMORizer). |
I agree, it should throw an error if possible. It could be useful to have a test/check that checks that newly added CMORizers produce data with the right name. @schlunma would you mind opening an issue about that in the Tool so the idea is not forgotten? I'll take a look at the faulty CMORizer in the meantime. |
I think it would be better add this check to our CMOR checks in ESMValCore as suggested in #1907. Since users are free to do the CMORization as they like (Python vs. NCL, using the utility functions or not, etc.) I don't think there is a place in the code where we can check the |
Describe the bug
The
recipe_esacci_lst.yml
fails at the diagnostic level because an ancestor list seems empty. The end of the log.txt of the only diagnostic ends with:We got the same type of errors when testing recipes for #1609. I thought we had covered all possible cases. But it seems the list of ancestors is empty for the OBS dataset, see main_log_debug.txt:
Any idea what's happening here @bouweandela and @schlunma?
Please attach
The text was updated successfully, but these errors were encountered: