Skip to content

Conversation

@gtrevisan
Copy link
Member

default behavior of xr.merge will change (ref: pydata/xarray PR 10062), so let's silence the warning with an explicit compat assignment.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR addresses a FutureWarning in xarray by explicitly specifying the compat parameter when merging datasets. The xarray library is changing its default merge behavior (ref: pydata/xarray PR 10062), and this fix prevents warnings by making the compatibility mode explicit.

Changes:

  • Added explicit compat="no_conflicts" parameter to xr.merge() call

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@gtrevisan gtrevisan merged commit 17cc6a7 into dev Jan 22, 2026
30 checks passed
@gtrevisan gtrevisan deleted the glt/xr-merge branch January 22, 2026 15:44
@gtrevisan gtrevisan mentioned this pull request Jan 22, 2026
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.

3 participants