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

xfail tests/integration/cmor/_fixes/test_common.py::test_cl_hybrid_height_coord_fix_metadata while Iris folk fix behaviour #2363

Merged
merged 1 commit into from Mar 6, 2024

Conversation

valeriupredoi
Copy link
Contributor

@valeriupredoi valeriupredoi commented Mar 6, 2024

Description

Issue described in SciTools/iris#5806 and reported internally in #2357

Remember to plug intended behaviour after Iris folk fix that, or, un-xfail the test

@schlunma gives a nice overview of the test: This test tests a fix that converts a non-CF-compliant netCDF file into a CF-compliant file. One issue of this netCDF file is that the units of the bounds differ to those of the points.

Since 3.8, iris now ignores bounds with different (incompatible) units than the points. I think we need to wait for a reply of the iris people before we can properly fix this. It would be especially helpful to know if we can somehow retrieve the bounds after loading the cube.


Before you get started

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:

Copy link

codecov bot commented Mar 6, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 94.12%. Comparing base (bf04feb) to head (4b8ae81).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2363   +/-   ##
=======================================
  Coverage   94.12%   94.12%           
=======================================
  Files         241      241           
  Lines       13393    13393           
=======================================
  Hits        12606    12606           
  Misses        787      787           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@schlunma schlunma left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am fairly sure we need to adapt our test somehow, but for now this is good.

@bouweandela
Copy link
Member

Could over of you please give a bit more detail about why this test is failing?

@schlunma
Copy link
Contributor

schlunma commented Mar 6, 2024

This test tests a fix that converts a non-CF-compliant netCDF file into a CF-compliant file. One issue of this netCDF file is that the units of the bounds differ to those of the points.

Since 3.8, iris now ignores bounds with different (incompatible) units than the points. I think we need to wait for a reply of the iris people before we can properly fix this. It would be especially helpful to know if we can somehow retrieve the bounds after loading the cube.

@valeriupredoi
Copy link
Contributor Author

thanks, Manu! And yes, valid question, Bouwe 🍺

@valeriupredoi valeriupredoi merged commit 5a6402f into main Mar 6, 2024
4 checks passed
@valeriupredoi valeriupredoi deleted the xfail_iris381_test branch March 6, 2024 20:06
@bouweandela
Copy link
Member

Just to make it clear that this is broken with iris 3.8, could you please open an issue in our own repository too with this description and which datasets can now now longer be fixed by ESMValCore? I'm not sure if the iris folks have plans to support all kinds of non-compliant data, so the fix may need an update if we want to use iris 3.8.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants