Describe the bug
When running the xcube unit test test.core.test_normalize.TestNormalize.test_normalize_zonal_lat_lon in an environment with xarray 2023.09.0, the following error occurs:
E ValueError: cannot re-index or align objects with conflicting indexes found for the following dimensions: 'lat' (2 conflicting indexes)
E Conflicting indexes may occur when
E - they relate to different sets of coordinate and/or dimension names
E - they don't have the same type
E - they may be used to reindex data along common dimensions
To Reproduce
Steps to reproduce the behavior:
Ensure that your environment has xarray 2023.09.0 installed
Run the unit test test_normalize_zonal_lat_lon
See error
Expected behavior
The test passes.
Additional context
The error is raised at xarray.core.alignment:312, in the assert_no_index_conflict function. git blame says that this function hasn't changed since 2022, so evidently the cause is elsewhere.
Pinning the xarray version to <2023.09.0 would be a reasonable temporary workaround.
Describe the bug When running the xcube unit test
test.core.test_normalize.TestNormalize.test_normalize_zonal_lat_lon
in an environment with xarray 2023.09.0, the following error occurs:To Reproduce Steps to reproduce the behavior:
test_normalize_zonal_lat_lon
Expected behavior The test passes.
Additional context The error is raised at
xarray.core.alignment:312
, in theassert_no_index_conflict
function. git blame says that this function hasn't changed since 2022, so evidently the cause is elsewhere.Pinning the xarray version to <2023.09.0 would be a reasonable temporary workaround.