Skip to content

Fix xgcm 0.10 padding compatibility - #840

Merged
tomvothecoder merged 1 commit into
mainfrom
bugfix/839-xgcm-api-break
Jul 16, 2026
Merged

tomvothecoder merged 1 commit into
mainfrom
bugfix/839-xgcm-api-break

Conversation

@tomvothecoder

Copy link
Copy Markdown
Collaborator

Description

Fix xgcm 0.10 compatibility by translating xCDAT's legacy grid options to the new padding API. This restores vertical regridding without requiring caller changes.

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • My changes generate no new warnings
  • Any dependent changes have been merged and published in downstream modules

If applicable:

  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass with my changes (locally and CI/CD build)
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have noted that this is a breaking change for a major release (fix or feature that would cause existing functionality to not work as expected)

@github-actions github-actions Bot added the type: bug Inconsistencies or issues which will cause an issue or problem for users or implementors. label Jul 16, 2026
@tomvothecoder
tomvothecoder marked this pull request as ready for review July 16, 2026 18:00
@codecov

codecov Bot commented Jul 16, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (f53aafe) to head (c553d45).

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #840   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           18        18           
  Lines         1989      1993    +4     
=========================================
+ Hits          1989      1993    +4     

☔ View full report in Codecov by Harness.
📢 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: bug Inconsistencies or issues which will cause an issue or problem for users or implementors.

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

[Bug]: xgcm v0.10.0 removed the Grid arg periodic, breaking ds.regridder.vertical(tool="xgcm")

1 participant