Skip to content
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

Open
wants to merge 74 commits into
base: main
Choose a base branch
from
Open

Add on-the-fly CMORizer for ICON-XPP #2659

wants to merge 74 commits into from

Conversation

schlunma
Copy link
Contributor

@schlunma schlunma commented Feb 11, 2025

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:

schlunma and others added 30 commits January 25, 2024 17:10
(cherry picked from commit fec33a1)
… with wrong exceptions flagged by prospector

(cherry picked from commit d39fc88)
(cherry picked from commit cc9e50d)
(cherry picked from commit ebda3b9)
(cherry picked from commit 2edc268)
(cherry picked from commit 0c3f2ae)
(cherry picked from commit 2f94086)
Co-authored-by: Valeriu Predoi <[email protected]>
(cherry picked from commit 93cfe33)
@schlunma schlunma added the fix for dataset Related to dataset-specific fix files label Feb 11, 2025
@schlunma schlunma added this to the v2.13.0 milestone Feb 11, 2025
@@ -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):
Copy link
Contributor Author

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):
Copy link
Contributor Author

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.

Copy link

codecov bot commented Feb 11, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.09%. Comparing base (40ff39d) to head (3e3de28).

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.
📢 Have feedback on the report? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix for dataset Related to dataset-specific fix files
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants