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

Allow boundless coordinates for bilinear and nearest regridders #276

Merged
merged 9 commits into from
Jul 31, 2024

Conversation

stephenworsley
Copy link
Contributor

The bilinear and nearest methods do not require coordinate bounds in order for ESMF to do regridding. This PR makes it so that grids without bound information are regridable via these methods.

@codecov
Copy link

codecov bot commented May 25, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Please upload report for BASE (main@893fa9b). Learn more about missing BASE report.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #276   +/-   ##
=======================================
  Coverage        ?   98.39%           
=======================================
  Files           ?       37           
  Lines           ?     4293           
  Branches        ?        0           
=======================================
  Hits            ?     4224           
  Misses          ?       69           
  Partials        ?        0           

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

@stephenworsley stephenworsley marked this pull request as ready for review May 26, 2023 10:02
@stephenworsley stephenworsley requested a review from pp-mo May 26, 2023 10:17
@github-actions
Copy link
Contributor

@SciTools-incubator/esmf-regrid-devs This pull-request is stale due to a lack of activity in the last 90 days. Remove stale label or comment, otherwise this pull-request will close automatically in 7 days time.

@github-actions github-actions bot added the Stale: Closure warning This stale issue or pull-request has been marked for closure label Aug 25, 2023
@ESadek-MO
Copy link
Contributor

@pp-mo

@stephenworsley stephenworsley removed the Stale: Closure warning This stale issue or pull-request has been marked for closure label Aug 30, 2023
@CLAassistant
Copy link

CLAassistant commented Oct 26, 2023

CLA assistant check
All committers have signed the CLA.

* main: (29 commits)
  Bump scitools/workflows from 2024.01.0 to 2024.04.3 (SciTools#356)
  Bump peter-evans/create-pull-request from 5.0.2 to 6.0.5 (SciTools#355)
  [pre-commit.ci] pre-commit autoupdate (SciTools#336)
  Updated environment lockfiles (SciTools#344)
  Update lockfiles and fix for new esmpy (SciTools#342)
  Fix for esmpy (SciTools#353)
  Fix usage of map_blocks (SciTools#338)
  Revert "Updated environment lockfiles (SciTools#335)" (SciTools#341)
  Updated environment lockfiles (SciTools#335)
  Bump actions/cache from 3 to 4 (SciTools#333)
  Bump actions/upload-artifact from 3 to 4 (SciTools#324)
  Bump actions/stale from 8.0.0 to 9.0.0 (SciTools#322)
  fix asv (SciTools#339)
  [pre-commit.ci] pre-commit autoupdate (SciTools#330)
  Bump scitools/workflows from 2023.09.0 to 2024.01.0 (SciTools#334)
  Updated environment lockfiles (SciTools#327)
  [pre-commit.ci] pre-commit autoupdate (SciTools#328)
  Updated environment lockfiles (SciTools#304)
  Add CITATION.cff (SciTools#319)
  updated for enums (SciTools#293)
  ...

# Conflicts:
#	esmf_regrid/schemes.py
@bouweandela
Copy link
Member

It would be great if this could get reviewed and merged for reasons explained in #368 (comment). Would it help to speed this up if I did a review?

@pp-mo
Copy link
Member

pp-mo commented Jul 17, 2024

@stephenworsley please update + I will progress !

* main:
  Bump scitools/workflows from 2024.06.0 to 2024.06.5 (SciTools#377)
  Fix typo (SciTools#371)
  Bump scitools/workflows from 2024.04.3 to 2024.06.0 (SciTools#365)
  Update to v0.11.dev0. (SciTools#363)
  Update to v0.10.0 (SciTools#362)
  Extend regridder saving/loading to all regridders (SciTools#357)
  Ensure dtype is preserved after regridding (SciTools#239)
  Move benchmark code from nox to bm_runner (SciTools#361)

# Conflicts:
#	esmf_regrid/schemes.py
* main:
  Fix unmasked connectivity bug (SciTools#385)

# Conflicts:
#	esmf_regrid/schemes.py
* main:
  Adapt to changes in iris structure (SciTools#387)
Copy link
Contributor

@HGWright HGWright left a comment

Choose a reason for hiding this comment

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

Looks great @stephenworsley, thanks for this change! Been in the works for a while.

@HGWright HGWright merged commit 3a0749c into SciTools:main Jul 31, 2024
16 checks passed
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.39%. Comparing base (893fa9b) to head (82d5fd5).
Report is 17 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #276      +/-   ##
==========================================
+ Coverage   98.37%   98.39%   +0.01%     
==========================================
  Files          37       37              
  Lines        4246     4293      +47     
==========================================
+ Hits         4177     4224      +47     
  Misses         69       69              

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

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

Successfully merging this pull request may close these issues.

7 participants