-
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
Add on-the-fly CMORizer for ICON-XPP #2659
base: main
Are you sure you want to change the base?
Conversation
(cherry picked from commit c742deb)
(cherry picked from commit dc55690)
(cherry picked from commit fec33a1)
… with wrong exceptions flagged by prospector (cherry picked from commit d39fc88)
…onfig (cherry picked from commit a4c9423)
(cherry picked from commit cc9e50d)
(cherry picked from commit ebda3b9)
(cherry picked from commit 2edc268)
(cherry picked from commit 0c3f2ae)
(cherry picked from commit f048a81)
(cherry picked from commit fe3ff7b)
Co-authored-by: Valeriu Predoi <[email protected]> (cherry picked from commit 93cfe33)
(cherry picked from commit 7b0f8cd)
@@ -519,6 +528,511 @@ def _set_range_in_0_360(lon_coord): | |||
lon_coord.bounds = (lon_coord.core_bounds() + 360.0) % 360.0 | |||
|
|||
|
|||
class AllVarsBase(IconFix): |
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.
This class has been copy-pasted from icon.py
without any changes.
|
||
logger = logging.getLogger(__name__) | ||
|
||
|
||
class AllVars(IconFix): |
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.
This class has been copy-pasted to icon/_base_fixes.py
without any changes.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2659 +/- ##
==========================================
+ Coverage 95.08% 95.09% +0.01%
==========================================
Files 255 256 +1
Lines 14884 14927 +43
==========================================
+ Hits 14152 14195 +43
Misses 732 732 ☔ View full report in Codecov by Sentry. |
Description
ICON-XPP (eXtendedPrediction and Projection) is the new version of the ICON model that will be used for the German contribution to CMIP7. It allows performing NWP and climate projections with one single model. The model code is published open-source and can be downloaded from https://www.icon-model.org/.
The basic structure of the model output is very similar to the old ICON version ("ICON-A", based on ECHAM physics), so most of the code from the old on-the-fly CMORizer can be re-used. The main difference between the new and old model output are the variable names, which is tackled in this PR via the extra facets.
Link to documentation: https://esmvaltool--2659.org.readthedocs.build/projects/ESMValCore/en/2659/quickstart/find_data.html#icon
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: