Is your feature request related to a problem?
xarray=2025.01.1 deprecates the use_cftime kwarg, which affects xcdat.open_dataset() and xcdat.open_mfdataset().
Related to: https://github.com/pydata/xarray/releases/tag/v2025.01.1
It also includes an update to the time decoding infrastructure as a step toward pydata/xarray#9618.
Describe the solution you'd like
- Add code that checks the Xarray version to determine what to use
if xarray.__version__ < 2025.01.1:
use_cftime = True
else:
decode_times = coders.CFDatimeCoder(use_cftime=True)
Describe alternatives you've considered
No response
Additional context