You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have upstream dev CI testing on geocat-comp that recently failed (NCAR/geocat-comp#681) because the dtype='datetime64[s]isn't handled byinfer_freq` yet in xarray. In particular this if statement looks like it needs to be generalized:
What happened?
We have upstream dev CI testing on geocat-comp that recently failed (NCAR/geocat-comp#681) because the dtype='datetime64[s]
isn't handled by
infer_freq` yet in xarray. In particular this if statement looks like it needs to be generalized:xarray/xarray/coding/frequencies.py
Line 91 in 2bedca4
What did you expect to happen?
infer_freq
to handle a broader range of dtypesMinimal Complete Verifiable Example
MVCE confirmation
Relevant log output
Anything else we need to know?
Only happens with the dev versions of both pandas and xarray.
Environment
INSTALLED VERSIONS
commit: None
python: 3.12.8 | packaged by conda-forge | (main, Dec 5 2024, 14:19:53) [Clang 18.1.8 ]
python-bits: 64
OS: Darwin
OS-release: 21.6.0
machine: arm64
processor: arm
byteorder: little
LC_ALL: None
LANG: en_US.UTF-8
LOCALE: ('en_US', 'UTF-8')
libhdf5: 1.14.4
libnetcdf: 4.9.2
xarray: 2025.1.2.dev19+g2bedca4f
pandas: 3.0.0.dev0+1871.gc0c778bdb7
numpy: 1.26.4
scipy: 1.14.1
netCDF4: 1.7.2
pydap: None
h5netcdf: None
h5py: None
zarr: None
cftime: 1.6.4
nc_time_axis: None
iris: None
bottleneck: 1.4.2
dask: 2025.1.0
distributed: 2025.1.0
matplotlib: 3.10.0
cartopy: 0.24.0
seaborn: None
numbagg: None
fsspec: 2024.12.0
cupy: None
pint: 0.24.4
sparse: None
flox: None
numpy_groupies: None
setuptools: 75.8.0
pip: 25.0
conda: None
pytest: 8.3.4
mypy: None
IPython: None
sphinx: None
The text was updated successfully, but these errors were encountered: