Skip to content

Remove deprecated horizontal regridding schemes unstructured_nearest and linear_extrapolate#2743

Merged
valeriupredoi merged 2 commits into
mainfrom
retire_deprecated_regrid_schemes
Jun 2, 2025
Merged

Remove deprecated horizontal regridding schemes unstructured_nearest and linear_extrapolate#2743
valeriupredoi merged 2 commits into
mainfrom
retire_deprecated_regrid_schemes

Conversation

@schlunma

@schlunma schlunma commented Jun 2, 2025

Copy link
Copy Markdown
Contributor

Description

In #2231 (in time for version 2.11.0), the regridding schemes unstructured_nearest and linear_extrapolate have been deprecated. Since we work on v2.13.0 now, these schemes can be removed for good.

Backwards-incompatible change

This PR removes two deprecated regridding schemes:

  • unstructured_nearest: Please use the scheme nearest instead. This is an exact replacement for data on unstructured grids. ESMValCore is now able to determine the most suitable regridding scheme based on the input data.
  • linear_extrapolate: Please use a generic scheme with reference: iris.analysis:Linear and extrapolation_mode: extrapolate instead. This is an exact replacement, e.g.:
preprocessors:
      regrid_preprocessor:
        regrid:
          target_grid: 2.5x2.5
          scheme:
            reference: iris.analysis:Linear
            extrapolation_mode: extrapolate

Related to #2231.


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 schlunma added this to the v2.13.0 milestone Jun 2, 2025
@codecov

codecov Bot commented Jun 2, 2025

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.19%. Comparing base (afcd1a0) to head (3ebdffc).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2743      +/-   ##
==========================================
- Coverage   95.20%   95.19%   -0.01%     
==========================================
  Files         259      259              
  Lines       15221    15206      -15     
==========================================
- Hits        14491    14476      -15     
  Misses        730      730              

☔ 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.

@valeriupredoi

valeriupredoi commented Jun 2, 2025

Copy link
Copy Markdown
Contributor

2.13 is a bit aways but am happy to have this out now - saw the Tool PR earlier today too, many thanks, Manu 🍺

@valeriupredoi valeriupredoi merged commit 96b3800 into main Jun 2, 2025
7 checks passed
@valeriupredoi valeriupredoi deleted the retire_deprecated_regrid_schemes branch June 2, 2025 15:27
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.

2 participants