-
Notifications
You must be signed in to change notification settings - Fork 285
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
[iris.ci] environment lockfiles auto-update #4967
Conversation
0cdf117
to
e5ec4a8
Compare
⚡ wow! |
Oof!
|
I am at least happy with the changes themselves - no unexpected packages etc. |
The failure is rooted in: SciTools/cartopy@8860a81 - this change has been planned for several years, we just never spotted the warning (see #4384). It was finally implemented in SciTools/cartopy@fcb784d. The change makes the below iris/lib/iris/tests/unit/analysis/cartography/test_rotate_winds.py Lines 422 to 435 in 06c8bc6
|
I'm no longer confident to make a change. This is all about testing whether masking removes deltas above a certain threshold, and with the underlying Cartopy changes this is no longer true. Drastically reducing the tolerance from
The below statement sounds like the original tolerance was a shot in the dark somewhat, and reading the conversations in the original PR - #1546 - backs this up. iris/lib/iris/analysis/cartography.py Lines 1011 to 1012 in 06c8bc6
What is the failing test achieving? Just monitoring that the behaviour remains the same? If so what should the expected results be changed to? Should the masking tolerance also be changed? |
Note that the following change allows all tests to pass, but is basically pinning us to old behaviour instead of adopting Proj's latest. diff --git a/lib/iris/coord_systems.py b/lib/iris/coord_systems.py
index 802571925..ce00746ee 100644
--- a/lib/iris/coord_systems.py
+++ b/lib/iris/coord_systems.py
@@ -736,10 +736,10 @@ class OSGB(TransverseMercator):
)
def as_cartopy_crs(self):
- return ccrs.OSGB()
+ return ccrs.OSGB(True)
def as_cartopy_projection(self):
- return ccrs.OSGB()
+ return ccrs.OSGB(True) |
Superceded by #4968. |
Lockfiles updated to the latest resolvable environment.
If the CI tasks fail, create a new branch based on this PR and add the required fixes to that branch.