CMIP6 CanESM CMOR fixes for variables with model level coordinates#3165
Conversation
…re, fix renames it surface_air_pressure, to be distinct from the derived coordinate for air pressure, which is given the standard name air_pressure
|
@valeriupredoi Would you mind helping me resolve the failed commit fix? I'm lost as to how to handle this. |
|
@k-a-webb and I looked at the code and we've figured out where the issue in tests coming from. Kristi will adjust accordingly and I can act as one of the reviewers. |
malininae
left a comment
There was a problem hiding this comment.
Looks good to me! I'd say it's ready for review from someone with write permissions.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #3165 +/- ##
=======================================
Coverage 96.24% 96.25%
=======================================
Files 273 274 +1
Lines 16172 16189 +17
=======================================
+ Hits 15565 15582 +17
Misses 607 607 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
I don't understand the test logic; none of the classes in |
rbeucher
left a comment
There was a problem hiding this comment.
The tests are not touching the new classes definition in canesm5_1.py
We were following the example of https://github.com/ESMValGroup/ESMValCore/blob/canesm_cmor_fixes/esmvalcore/cmor/_fixes/cmip6/mpi_esm1_2_xr.py, which calls all it's classes from That said, I can generate a near duplicate of |
|
I think it's better to have a |
Description
For variables in the CMIP6 CanESM output which are published on model levels, the coordinate
pshas the standard nameair_pressure. This causes an issue as the derived pressure level coordinate also has the standard nameair_pressure.For example:
The new fix relabels the standard name of
pstosurface_air_pressure.Closes #3164
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: