Skip to content

Conversation

@bouweandela
Copy link
Member

@bouweandela bouweandela commented Nov 12, 2025

Description

Remove deprecated ESMPy regridding schemes ESMPyAreaWeighted, ESMPyLinear, and ESMPyNearest.

Link to documentation:

Upgrade instructions

In most cases, users do not need to do anything as the default regridding schemes have been updated so these schemes are no longer used.

If you were using these schemes from Python or through a Generic regridding scheme in your recipe, you will need to update it to use esmvalcore.regrid_schemes.IrisESMFRegrid instead.


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:

@codecov
Copy link

codecov bot commented Nov 12, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 95.55%. Comparing base (19d4725) to head (eb1f34c).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2879      +/-   ##
==========================================
+ Coverage   95.49%   95.55%   +0.06%     
==========================================
  Files         261      259       -2     
  Lines       15557    15241     -316     
==========================================
- Hits        14856    14564     -292     
+ Misses        701      677      -24     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@bouweandela bouweandela marked this pull request as ready for review November 12, 2025 14:39
@bouweandela bouweandela added this to the v2.14.0 milestone Nov 12, 2025
Copy link
Contributor

@valeriupredoi valeriupredoi left a comment

Choose a reason for hiding this comment

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

do we still need esmpy as dep then? Thanks, buds 🍺

@bouweandela
Copy link
Member Author

Not directly, only through iris-esmf-regrid. I removed it in eb1f34c

@bouweandela bouweandela merged commit 64a741e into main Nov 14, 2025
4 checks passed
@bouweandela bouweandela deleted the remove-esmpy-regridders branch November 14, 2025 14:14
@valeriupredoi
Copy link
Contributor

ah after esmpy gave me half a head of white hairs when supporting Python 3.13, it finally gone - not gonna miss it 😁

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.

3 participants