Skip to content

Conversation

charles-turner-1
Copy link
Collaborator

@charles-turner-1 charles-turner-1 commented Mar 5, 2025

Change Summary

Change default decode_timedelta xarray_open_kwarg to False, following change to xarray default:

 FutureWarning: In a future version of xarray decode_timedelta will default to False rather than None. To silence this warning, set decode_timedelta to True, False, or a 'CFTimedeltaCoder' instance.

Related issue number

Closes #702

Checklist

  • [NA] Unit tests for the changes exist
  • Tests pass on CI
  • [NA] Documentation reflects the changes where applicable - I can't see any references to the default arguments passed to xarray.open_mfdataset anywhere in the docs.

@mgrover1 mgrover1 merged commit 43e1caa into main Mar 18, 2025
10 checks passed
@mgrover1 mgrover1 deleted the 702-decode-timedelta branch March 18, 2025 13:45
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.

Change in xarray default causing large number of warnings
2 participants