Closed brittaGrusdt closed 3 weeks ago
hi @brittaGrusdt many thanks for opening this! I am going to transfer the issue to ESMValCore since it looks to be a bug in the preprocessing function, and will assign some folks to have a look at it. Cheers :beer:
Thank you very much :) I added a pull request (see #2507) that solves the problem by simply accepting a KeyError (besides AttributeError).
The fix_metadata for CMIP6 awi_esm_1_1_lr fails when no parent file exists since in that case the key 'parent_time_units' is not present in the attributes dictionary. See original issue and the relevant source code
Please attach
The recipe that you are trying to run, you can find a copy in the
run
directory in the output directory (added here as .txt file instead of yml file) my_recipe.txtThe
main_log_debug.txt
file, this can also be found in therun
directory in the output directory main_log_debug.txt