Metadata fix - How to include error print to log file? #2090
Replies: 2 comments 3 replies
-
As an addition to my question: I'm sure that the issue is not that my modified cnrm_cm6_1.py fix isn't used during the recipe execution. Checking that was possible with a wrong ident in the python function:
|
Beta Was this translation helpful? Give feedback.
-
Hi @HannahGaenslen 👋 Thank you for getting in touch! 😊 Apolgies for not responding sooner; the last few weeks have been really busy for me! 😩 I can't immediately see anything wrong with your logging code. Other modules in that area of ESMValCore have the same logging code! The first error in the log you provided (L3016) states:
This suggests that ESMValTool is correctly finding your Can you simplify the |
Beta Was this translation helpful? Give feedback.
-
Hi all,
I had a problem with the metadata of CNRM models when running
recipe_radiation_budget.py
. @mpmoine has explained and asked about the error in this GitHub discussion.Right now I'm trying to fix the issue with a metadata fix in ESMValCore, but the testing wasn't successful yet. I wanted to print a potential error to the log file, but the logging method didn't work.
What did I do wrong? Or is there another method to print information from a metadata fix to the log file?
Thanks for your help,
Hannah
recipe_radiation_budget_20230614_072655_main_log_debug.txt
recipe_radiation_budget_20230614_072655.txt
cnrm_cm6_1.txt
Beta Was this translation helpful? Give feedback.
All reactions