Skip to content

Silence xarray FutureWarning for merge compat parameter #569

@ecomodeller

Description

@ecomodeller

xarray emits a FutureWarning when merging datasets without explicit compat parameter:

FutureWarning: In a future version of xarray the default value for compat will change from compat='no_conflicts' to compat='override'.

Update Comparer.__add__ to explicitly pass compat='no_conflicts' to maintain current behavior.

File: src/modelskill/comparison/_comparison.py (around line 775)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions