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
Time coordinate values are significantly different (second precision) if numpy v2 in the environment for the xarray "air temperature" tutorial dataset. This leads to discrepancies and errors in selection by date strings.
What happened?
Time coordinate values are significantly different (second precision) if numpy v2 in the environment for the xarray "air temperature" tutorial dataset. This leads to discrepancies and errors in selection by date strings.
Numpy v2.0.0
Numpy v1.26.4
What did you expect to happen?
I expect time coordinates to be identical for different numpy versions
Minimal Complete Verifiable Example
MVCE confirmation
Relevant log output
Anything else we need to know?
xarray-contrib/xarray-tutorial#271
Environment
INSTALLED VERSIONS
commit: None
python: 3.12.4 | packaged by conda-forge | (main, Jun 17 2024, 10:13:44) [Clang 16.0.6 ]
python-bits: 64
OS: Darwin
OS-release: 23.5.0
machine: arm64
processor: arm
byteorder: little
LC_ALL: None
LANG: en_US.UTF-8
LOCALE: ('en_US', 'UTF-8')
libhdf5: 1.14.3
libnetcdf: 4.9.2
xarray: 2024.6.0
pandas: 2.2.2
numpy: 2.0.0
scipy: None
netCDF4: 1.7.1
pydap: None
h5netcdf: None
h5py: None
zarr: None
cftime: 1.6.4
nc_time_axis: None
iris: None
bottleneck: None
dask: None
distributed: None
matplotlib: None
cartopy: None
seaborn: None
numbagg: None
fsspec: None
cupy: None
pint: None
sparse: None
flox: None
numpy_groupies: None
setuptools: 70.1.1
pip: 24.0
conda: None
pytest: None
mypy: None
IPython: 8.25.0
sphinx: None
The text was updated successfully, but these errors were encountered: