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

Fix a FutureWarning from xarray around timedelta decoding #174

Merged
merged 1 commit into from
Feb 5, 2025

Conversation

mx-moth
Copy link
Contributor

@mx-moth mx-moth commented Feb 5, 2025

xarray will in the future stop automatically decoding timedelta variables. It has added a FutureWarning about this. This warning was causing the latest dependency CI checks to fail.

This particular test is specifically about timedelta handling, so we want to opt in to decoding timedelta values.

xarray will in the future stop automatically decoding timedelta
variables. It has added a FutureWarning about this. This warning was
causing the latest dependency CI checks to fail.

This particular test is specifically about timedelta handling, so we
want to opt in to decoding timedelta values.
@mx-moth mx-moth self-assigned this Feb 5, 2025
Copy link
Collaborator

@david-sh-csiro david-sh-csiro left a comment

Choose a reason for hiding this comment

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

Looks good! Test passed locally as well.

@mx-moth mx-moth merged commit 82ad399 into main Feb 5, 2025
15 checks passed
@mx-moth mx-moth deleted the fix-xarray-timedelta-future-warning branch February 5, 2025 02:59
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.

2 participants