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

Add xESMF regridder #2433

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from
Draft

Add xESMF regridder #2433

wants to merge 5 commits into from

Conversation

bouweandela
Copy link
Member

@bouweandela bouweandela commented May 23, 2024

Description

Add xESMF regriding scheme for the regrid preprocessor.

Example usage in preprocessor in recipe:

regrid:
  target_grid: 1x1
  scheme:
    reference: esmvalcore.preprocessor.regrid_schemes:xESMF
    method: bilinear
    periodic: true

Link to documentation: https://esmvaltool--2433.org.readthedocs.build/projects/ESMValCore/en/2433/api/esmvalcore.regridding_schemes.html#esmvalcore.preprocessor.regrid_schemes.xESMF


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 May 23, 2024

Codecov Report

Attention: Patch coverage is 33.33333% with 26 lines in your changes are missing coverage. Please review.

Project coverage is 94.34%. Comparing base (2fc8761) to head (b639462).

Files Patch % Lines
esmvalcore/preprocessor/_regrid_xesmf.py 31.57% 26 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2433      +/-   ##
==========================================
- Coverage   94.51%   94.34%   -0.17%     
==========================================
  Files         246      247       +1     
  Lines       14023    14062      +39     
==========================================
+ Hits        13254    13267      +13     
- Misses        769      795      +26     

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

@bouweandela bouweandela added preprocessor Related to the preprocessor dask related to improvements using Dask labels May 23, 2024
@flicj191
Copy link

message for myself @flicj191 as I want to try to use this regridder. let me know if you would like me to do anything

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dask related to improvements using Dask preprocessor Related to the preprocessor
Development

Successfully merging this pull request may close these issues.

2 participants