xarray
xarray copied to clipboard
⚠️ Nightly upstream-dev CI failed ⚠️
Python 3.12 Test Summary
xarray/tests/test_backends.py::TestPydap::test_cmp_local_file: AssertionError: Left and right Dataset objects are not equal
Differing data variables:
L bears (i, j) <U3 72B 'ind' 'ist' 'ing' 'uis' 'hab' 'le'
R bears (i, j) |S4 24B b'ind' b'ist' b'ing' b'uis' b'hab' b'le'
xarray/tests/test_backends.py::TestPydap::test_dask: AssertionError: Left and right Dataset objects are not equal
Differing data variables:
L bears (i, j) <U3 72B 'ind' 'ist' 'ing' 'uis' 'hab' 'le'
R bears (i, j) |S4 24B b'ind' b'ist' b'ing' b'uis' b'hab' b'le'
xarray/tests/test_backends_datatree.py::TestZarrDatatreeIO::test_to_zarr[zarr_format=2]: AssertionError: Left and right DataTree objects are not equal
Data at node 'set1' does not match:
Differing data variables:
L a int64 8B 0
R a float64 8B nan
xarray/tests/test_backends_datatree.py::TestZarrDatatreeIO::test_to_zarr_zip_store[2 failing variants]: ValueError: Store is not read-only but mode is 'r'. Unable to create a read-only copy of the store. Please use a read-only store or a storage class that implements .with_read_only().
xarray/tests/test_backends_datatree.py::TestZarrDatatreeIO::test_to_zarr_not_consolidated[zarr_format=2]: AssertionError: Left and right DataTree objects are not equal
Data at node 'set1' does not match:
Differing data variables:
L a int64 8B 0
R a float64 8B nan
xarray/tests/test_backends_datatree.py::TestZarrDatatreeIO::test_open_datatree_chunks[zarr_format=2]: AssertionError: Left and right DataTree objects are not identical
Data at node 'group1' does not match:
Differing data variables:
L a (y) float64 24B dask.array<chunksize=(1,), meta=np.ndarray>
R a (y) int64 24B dask.array<chunksize=(1,), meta=np.ndarray>
xarray/tests/test_backends.py::TestZarrDictStore::test_zero_dimensional_variable[2]: AssertionError: Left and right Dataset objects are not identical
Differing coordinates:
L * time (time) datetime64[ns] 160B 2000-01-01 2000-01-02 ... 2000-01-20
R * time (time) datetime64[ns] 160B NaT 2000-01-02 ... 2000-01-20
L numbers (dim3) int64 80B 0 1 2 0 0 1 1 2 2 3
R numbers (dim3) float64 80B nan 1.0 2.0 nan nan 1.0 1.0 2.0 2.0 3.0
xarray/tests/test_backends.py::TestZarrDictStore::test_write_store[2]: AssertionError: Left and right Dataset objects are not close
Differing coordinates:
L * time (time) datetime64[ns] 160B 2000-01-01 2000-01-02 ... 2000-01-20
R * time (time) datetime64[ns] 160B NaT 2000-01-02 ... 2000-01-19 2000-01-20
L numbers (dim3) int64 80B 0 1 2 0 0 1 1 2 2 3
R numbers (dim3) float64 80B ...
xarray/tests/test_backends.py::TestZarrDictStore::test_roundtrip_test_data[2]: AssertionError: assert (dtype('int64') == dtype('float64') or ('i' in {'O', 'S', 'U'}))
+ where 'i' = dtype('int64').kind
xarray/tests/test_backends.py::TestZarrDictStore::test_load[2]: AssertionError: Left and right Dataset objects are not identical
Differing coordinates:
L * time (time) datetime64[ns] 160B 2000-01-01 2000-01-02 ... 2000-01-20
R * time (time) datetime64[ns] 160B NaT 2000-01-02 ... 2000-01-19 2000-01-20
L numbers (dim3) int64 80B 0 1 2 0 0 1 1 2 2 3
R numbers (dim3) float64 80B nan 1.0 2.0 nan nan 1.0 1.0 2.0 2.0 3.0
xarray/tests/test_backends.py::TestZarrDictStore::test_dataset_compute[2]: AssertionError: Left and right Dataset objects are not identical
Differing coordinates:
L * time (time) datetime64[ns] 160B 2000-01-01 2000-01-02 ... 2000-01-20
R * time (time) datetime64[ns] 160B NaT 2000-01-02 ... 2000-01-19 2000-01-20
L numbers (dim3) int64 80B 0 1 2 0 0 1 1 2 2 3
R numbers (dim3) float64 80B nan 1.0 2.0 nan nan 1.0 1.0 2.0 2.0 3.0
xarray/tests/test_backends.py::TestZarrDictStore::test_roundtrip_None_variable[2]: AssertionError: Left and right Dataset objects are not identical
Differing data variables:
L None (x, y) int64 32B 0 1 2 3
R None (x, y) float64 32B nan 1.0 2.0 3.0
xarray/tests/test_backends.py::TestZarrDictStore::test_roundtrip_object_dtype[2 failing variants]: ValueError: When changing to a smaller dtype, its size must be a divisor of the size of original dtype
xarray/tests/test_backends.py::TestZarrDictStore::test_roundtrip_numpy_datetime_data[2]: AssertionError: Left and right Dataset objects are not identical
Differing coordinates:
L * t (t) datetime64[ns] 24B 2000-01-01 2000-01-02 NaT
R * t (t) datetime64[ns] 24B NaT 2000-01-02 NaT
xarray/tests/test_backends.py::TestZarrDictStore::test_roundtrip_cftime_datetime_data[2]: ValueError: Failed to decode variable 't0': unable to decode time units 'days since 0001-01-01' with "calendar 'noleap'". Try opening your dataset with decode_times=False or installing cftime if it is not installed.
xarray/tests/test_backends.py::TestZarrDictStore::test_roundtrip_coordinates[2]: AssertionError: Left and right Dataset objects are not identical
Differing data variables:
L foo (x) int64 16B 0 1
R foo (x) float64 16B nan 1.0
xarray/tests/test_backends.py::TestZarrDictStore::test_roundtrip_global_coordinates[2]: AssertionError: Left and right Dataset objects are not identical
Differing data variables:
L foo (x) int64 16B 0 1
R foo (x) float64 16B nan 1.0
xarray/tests/test_backends.py::TestZarrDictStore::test_roundtrip_coordinates_with_space[2]: AssertionError: Left and right Dataset objects are not identical
Differing coordinates:
L x int64 8B 0
R x float64 8B nan
xarray/tests/test_backends.py::TestZarrDictStore::test_roundtrip_boolean_dtype[2]: AssertionError: Left and right Dataset objects are not identical
Differing data variables:
L x (t) bool 4B True False False True
R x (t) bool 4B True True True True
xarray/tests/test_backends.py::TestZarrDictStore::test_orthogonal_indexing[2]: AssertionError: Left and right Dataset objects are not identical
Differing coordinates:
L * time (time) datetime64[ns] 160B 2000-01-01 2000-01-02 ... 2000-01-20
R * time (time) datetime64[ns] 160B NaT 2000-01-02 ... 2000-01-19 2000-01-20
L numbers (dim3) int64 40B 0 1 2 0 0
R numbers (dim3) float64 40B nan 1.0 2.0 nan nan
xarray/tests/test_backends.py::TestZarrDictStore::test_vectorized_indexing[2]: AssertionError: Left and right Dataset objects are not identical
Differing coordinates:
L * time (time) datetime64[ns] 160B 2000-01-01 2000-01-02 ... 2000-01-20
R * time (time) datetime64[ns] 160B NaT 2000-01-02 ... 2000-01-19 2000-01-20
L numbers (dim3) int64 80B 0 1 2 0 0 1 1 2 2 3
R numbers (dim3) float64 80B nan 1.0 2.0 nan nan 1.0 1.0 2.0 2.0 3.0
xarray/tests/test_backends.py::TestZarrDictStore::test_vectorized_indexing_negative_step[2]: AssertionError: Left and right DataArray objects are not identical
Differing coordinates:
L numbers (dim3) int64 64B 3 2 2 1 1 0 0 2
R numbers (dim3) float64 64B 3.0 2.0 2.0 1.0 1.0 nan nan 2.0
xarray/tests/test_backends.py::TestZarrDictStore::test_isel_dataarray[2]: AssertionError: Left and right Dataset objects are not identical
Differing coordinates:
L * time (time) datetime64[ns] 160B 2000-01-01 2000-01-02 ... 2000-01-20
R * time (time) datetime64[ns] 160B NaT 2000-01-02 ... 2000-01-19 2000-01-20
L numbers (dim3) int64 80B 0 1 2 0 0 1 1 2 2 3
R numbers (dim3) float64 80B nan 1.0 2.0 nan nan 1.0 1.0 2.0 2.0 3.0
xarray/tests/test_backends.py::TestZarrDictStore::test_array_type_after_indexing[2]: AssertionError: Left and right Dataset objects are not identical
Differing coordinates:
L * time (time) datetime64[ns] 160B 2000-01-01 2000-01-02 ... 2000-01-20
R * time (time) datetime64[ns] 160B NaT 2000-01-02 ... 2000-01-19 2000-01-20
L numbers (dim3) int64 40B 0 1 2 0 0
R numbers (dim3) float64 40B nan 1.0 2.0 nan nan
xarray/tests/test_backends.py::TestZarrDictStore::test_dropna[2]: AssertionError: Left and right Dataset objects are not identical
Differing coordinates:
L * x (x) int64 16B 0 2
R * x (x) float64 16B nan 2.0
L * y (y) int64 32B 0 1 2 3
R * y (y) float64 32B nan 1.0 2.0 3.0
xarray/tests/test_backends.py::TestZarrDictStore::test_coordinate_variables_after_dataset_roundtrip[2]: AssertionError: Left and right Dataset objects are not identical
Differing coordinates:
L * longitude (longitude) float64 16B nan 1.0
R * longitude (longitude) int64 16B 0 1
L longitude_bnds (longitude, bnds2) float64 32B nan 1.0 1.0 2.0
R longitude_bnds (longitude, bnds2) int64 32B 0 1 1 2
L latitude_bnds (latitude, bnds2) float64 32B nan 1.0 1.0 2.0
R latitude_bnds (latitude, bnds2) int64 32B 0 1 1 2
L * latitude (latitude) float64 16B nan 1.0
R * latitude (latitude) int64 16B 0 1
xarray/tests/test_backends.py::TestZarrDictStore::test_grid_mapping_and_bounds_are_coordinates_after_dataarray_roundtrip[2]: AssertionError: Left and right Dataset objects are not identical
Differing coordinates:
L * longitude (longitude) float64 16B nan 1.0
R * longitude (longitude) int64 16B 0 1
L * latitude (latitude) float64 16B nan 1.0
R * latitude (latitude) int64 16B 0 1
xarray/tests/test_backends.py::TestZarrDictStore::test_coordinates_encoding[2]: AssertionError: Left and right Dataset objects are not identical
Differing data variables:
L temp (x) float64 16B nan 1.0
R temp (x) int64 16B 0 1
L precip (x) float64 16B nan -1.0
R precip (x) int64 16B 0 -1
xarray/tests/test_backends.py::TestZarrDictStore::test_default_fill_value[2]: AssertionError: assert '_FillValue' not in {'_FillValue': np.int16(0), 'chunks': (10,), 'compressors': (Blosc(cname='lz4', clevel=5, shuffle=SHUFFLE, blocksize=0),), 'dtype': dtype('<i2'), ...}
+ where {'_FillValue': np.int16(0), 'chunks': (10,), 'compressors': (Blosc(cname='lz4', clevel=5, shuffle=SHUFFLE, blocksize=0),), 'dtype': dtype('<i2'), ...} = <xarray.DataArray 'x' (y: 10)> Size: 40B\n[10 values with dtype=float32]\nDimensions without coordinates: y.encoding
+ where <xarray.DataArray 'x' (y: 10)> Size: 40B\n[10 values with dtype=float32]\nDimensions without coordinates: y = <xarray.Dataset> Size: 40B\nDimensions: (y: 10)\nDimensions without coordinates: y\nData variables:\n x (y) float32 40B ....x
xarray/tests/test_backends.py::TestZarrDictStore::test_explicitly_omit_fill_value[2]: AssertionError: assert '_FillValue' not in {'_FillValue': np.float64(0.0), 'chunks': (2,), 'compressors': (Blosc(cname='lz4', clevel=5, shuffle=SHUFFLE, blocksize=0),), 'dtype': dtype('<f8'), ...}
+ where {'_FillValue': np.float64(0.0), 'chunks': (2,), 'compressors': (Blosc(cname='lz4', clevel=5, shuffle=SHUFFLE, blocksize=0),), 'dtype': dtype('<f8'), ...} = <xarray.DataArray 'x' (y: 2)> Size: 16B\n[2 values with dtype=float64]\nDimensions without coordinates: y.encoding
+ where <xarray.DataArray 'x' (y: 2)> Size: 16B\n[2 values with dtype=float64]\nDimensions without coordinates: y = <xarray.Dataset> Size: 16B\nDimensions: (y: 2)\nDimensions without coordinates: y\nData variables:\n x (y) float64 16B ....x
xarray/tests/test_backends.py::TestZarrDictStore::test_explicitly_omit_fill_value_via_encoding_kwarg[2]: AssertionError: assert '_FillValue' not in {'_FillValue': np.float64(0.0), 'chunks': (2,), 'compressors': (Blosc(cname='lz4', clevel=5, shuffle=SHUFFLE, blocksize=0),), 'dtype': dtype('<f8'), ...}
+ where {'_FillValue': np.float64(0.0), 'chunks': (2,), 'compressors': (Blosc(cname='lz4', clevel=5, shuffle=SHUFFLE, blocksize=0),), 'dtype': dtype('<f8'), ...} = <xarray.DataArray 'x' (y: 2)> Size: 16B\n[2 values with dtype=float64]\nDimensions without coordinates: y.encoding
+ where <xarray.DataArray 'x' (y: 2)> Size: 16B\n[2 values with dtype=float64]\nDimensions without coordinates: y = <xarray.Dataset> Size: 16B\nDimensions: (y: 2)\nDimensions without coordinates: y\nData variables:\n x (y) float64 16B ....x
xarray/tests/test_backends.py::TestZarrDictStore::test_explicitly_omit_fill_value_in_coord[2]: AssertionError: assert '_FillValue' not in {'_FillValue': np.float64(0.0), 'chunks': (2,), 'compressors': (Blosc(cname='lz4', clevel=5, shuffle=SHUFFLE, blocksize=0),), 'dtype': dtype('<f8'), ...}
+ where {'_FillValue': np.float64(0.0), 'chunks': (2,), 'compressors': (Blosc(cname='lz4', clevel=5, shuffle=SHUFFLE, blocksize=0),), 'dtype': dtype('<f8'), ...} = <xarray.DataArray 'y' (y: 2)> Size: 16B\narray([nan, 1.])\nCoordinates:\n * y (y) float64 16B nan 1.0.encoding
+ where <xarray.DataArray 'y' (y: 2)> Size: 16B\narray([nan, 1.])\nCoordinates:\n * y (y) float64 16B nan 1.0 = <xarray.Dataset> Size: 32B\nDimensions: (y: 2)\nCoordinates:\n * y (y) float64 16B nan 1.0\nData variables:\n x (y) float64 16B ....y
xarray/tests/test_backends.py::TestZarrDictStore::test_explicitly_omit_fill_value_in_coord_via_encoding_kwarg[2]: AssertionError: assert '_FillValue' not in {'_FillValue': np.float64(0.0), 'chunks': (2,), 'compressors': (Blosc(cname='lz4', clevel=5, shuffle=SHUFFLE, blocksize=0),), 'dtype': dtype('<f8'), ...}
+ where {'_FillValue': np.float64(0.0), 'chunks': (2,), 'compressors': (Blosc(cname='lz4', clevel=5, shuffle=SHUFFLE, blocksize=0),), 'dtype': dtype('<f8'), ...} = <xarray.DataArray 'y' (y: 2)> Size: 16B\narray([nan, 1.])\nCoordinates:\n * y (y) float64 16B nan 1.0.encoding
+ where <xarray.DataArray 'y' (y: 2)> Size: 16B\narray([nan, 1.])\nCoordinates:\n * y (y) float64 16B nan 1.0 = <xarray.Dataset> Size: 32B\nDimensions: (y: 2)\nCoordinates:\n * y (y) float64 16B nan 1.0\nData variables:\n x (y) float64 16B ....y
xarray/tests/test_backends.py::TestZarrDictStore::test_append_overwrite_values[2]: AssertionError: Left and right Dataset objects are not identical
Differing coordinates:
L * time (time) datetime64[ns] 160B 2000-01-01 2000-01-02 ... 2000-01-20
R * time (time) datetime64[ns] 160B NaT 2000-01-02 ... 2000-01-19 2000-01-20
L numbers (dim3) int64 80B 0 1 2 0 0 1 1 2 2 3
R numbers (dim3) float64 80B nan 1.0 2.0 nan nan 1.0 1.0 2.0 2.0 3.0
xarray/tests/test_backends.py::TestZarrDictStore::test_string_object_warning[2 failing variants]: ValueError: When changing to a smaller dtype, its size must be a divisor of the size of original dtype
xarray/tests/test_backends.py::TestZarrDictStore::test_roundtrip_consolidated[3 failing variants]: AssertionError: assert (dtype('int64') == dtype('float64') or ('i' in {'O', 'S', 'U'}))
+ where 'i' = dtype('int64').kind
xarray/tests/test_backends.py::TestZarrDictStore::test_read_non_consolidated_warning[2]: AssertionError: Left and right Dataset objects are not identical
Differing coordinates:
L * time (time) datetime64[ns] 160B NaT 2000-01-02 ... 2000-01-19 2000-01-20
R * time (time) datetime64[ns] 160B 2000-01-01 2000-01-02 ... 2000-01-20
L numbers (dim3) float64 80B dask.array<chunksize=(10,), meta=np.ndarray>
R numbers (dim3) int64 80B 0 1 2 0 0 1 1 2 2 3
xarray/tests/test_backends.py::TestZarrDictStore::test_non_existent_store[2]: AssertionError: Regex pattern did not match.
Regex: '(No such file or directory|Unable to find group)'
Input: "No group found in store '/tmp/pytest-of-runner/pytest-0/popen-gw0/test_non_existent_store_2_0/71d24a4f-f937-4e8f-9d5c-10c92e35214d' at path ''"
xarray/tests/test_backends.py::TestZarrDictStore::test_write_persistence_modes[2 failing variants]: AssertionError: Left and right Dataset objects are not identical
Differing coordinates:
L * time (time) datetime64[ns] 160B 2000-01-01 2000-01-02 ... 2000-01-20
R * time (time) datetime64[ns] 160B NaT 2000-01-02 ... 2000-01-19 2000-01-20
L numbers (dim3) int64 80B 0 1 2 0 0 1 1 2 2 3
R numbers (dim3) float64 80B nan 1.0 2.0 nan nan 1.0 1.0 2.0 2.0 3.0
xarray/tests/test_backends.py::TestZarrDictStore::test_group[2]: AssertionError: Left and right Dataset objects are not identical
Differing coordinates:
L * time (time) datetime64[ns] 160B 2000-01-01 2000-01-02 ... 2000-01-20
R * time (time) datetime64[ns] 160B NaT 2000-01-02 ... 2000-01-19 2000-01-20
L numbers (dim3) int64 80B 0 1 2 0 0 1 1 2 2 3
R numbers (dim3) float64 80B nan 1.0 2.0 nan nan 1.0 1.0 2.0 2.0 3.0
xarray/tests/test_backends.py::TestZarrDictStore::test_append_write[2]: AssertionError: Left and right Dataset objects are not identical
Differing coordinates:
L * time (time) datetime64[ns] 160B 2000-01-01 2000-01-02 ... 2000-01-20
R * time (time) datetime64[ns] 160B NaT 2000-01-02 ... 2000-01-19 2000-01-20
L numbers (dim3) int64 80B 0 1 2 0 0 1 1 2 2 3
R numbers (dim3) float64 80B nan 1.0 2.0 nan nan 1.0 1.0 2.0 2.0 3.0
xarray/tests/test_backends.py::TestZarrDictStore::test_append_string_length_mismatch_raises[2 failing variants]: Failed: DID NOT RAISE <class 'ValueError'>
xarray/tests/test_backends.py::TestZarrDictStore::test_check_encoding_is_consistent_after_append[2 failing variants]: ValueError: When changing to a smaller dtype, its size must be a divisor of the size of original dtype
xarray/tests/test_backends.py::TestZarrDictStore::test_append_with_new_variable[2 failing variants]: ValueError: When changing to a smaller dtype, its size must be a divisor of the size of original dtype
xarray/tests/test_backends.py::TestZarrDictStore::test_append_with_append_dim_no_overwrite[2 failing variants]: ValueError: When changing to a smaller dtype, its size must be a divisor of the size of original dtype
xarray/tests/test_backends.py::TestZarrDictStore::test_to_zarr_compute_false_roundtrip[2]: AssertionError: Left and right Dataset objects are not identical
Differing coordinates:
L * time (time) datetime64[ns] 160B 2000-01-01 2000-01-02 ... 2000-01-20
R * time (time) datetime64[ns] 160B NaT 2000-01-02 ... 2000-01-19 2000-01-20
L numbers (dim3) int64 80B dask.array<chunksize=(10,), meta=np.ndarray>
R numbers (dim3) float64 80B nan 1.0 2.0 nan nan 1.0 1.0 2.0 2.0 3.0
xarray/tests/test_backends.py::TestZarrDictStore::test_to_zarr_append_compute_false_roundtrip[2 failing variants]: ValueError: When changing to a smaller dtype, its size must be a divisor of the size of original dtype
xarray/tests/test_backends.py::TestZarrDictStore::test_write_region_errors[2]: AssertionError: Left and right Dataset objects are not identical
Differing data variables:
L u (x) float64 40B nan 1.0 2.0 3.0 4.0
R u (x) int64 40B 0 1 2 3 4
xarray/tests/test_backends.py::TestZarrDictStore::test_encoding_chunksizes[2]: AssertionError: Left and right Dataset objects are not equal
Differing coordinates:
L * x (x) float64 32B nan 1.0 2.0 3.0
R * x (x) int64 32B 0 1 2 3
L * t (t) float64 40B nan 1.0 2.0 3.0 4.0
R * t (t) int64 40B 0 1 2 3 4
L * y (y) float64 32B nan 1.0 2.0 3.0
R * y (y) int64 32B 0 1 2 3
xarray/tests/test_backends.py::TestZarrDictStore::test_open_zarr_use_cftime[2]: AssertionError: Left and right Dataset objects are not identical
Differing coordinates:
L * time (time) datetime64[ns] 160B 2000-01-01 2000-01-02 ... 2000-01-20
R * time (time) datetime64[ns] 160B NaT 2000-01-02 ... 2000-01-19 2000-01-20
L numbers (dim3) int64 80B 0 1 2 0 0 1 1 2 2 3
R numbers (dim3) float64 80B dask.array<chunksize=(10,), meta=np.ndarray>
xarray/tests/test_backends.py::TestZarrDirectoryStore::test_zero_dimensional_variable[2]: AssertionError: Left and right Dataset objects are not identical
Differing coordinates:
L * time (time) datetime64[ns] 160B 2000-01-01 2000-01-02 ... 2000-01-20
R * time (time) datetime64[ns] 160B NaT 2000-01-02 ... 2000-01-20
L numbers (dim3) int64 80B 0 1 2 0 0 1 1 2 2 3
R numbers (dim3) float64 80B nan 1.0 2.0 nan nan 1.0 1.0 2.0 2.0 3.0
xarray/tests/test_backends.py::TestZarrDirectoryStore::test_write_store[2]: AssertionError: Left and right Dataset objects are not close
Differing coordinates:
L * time (time) datetime64[ns] 160B 2000-01-01 2000-01-02 ... 2000-01-20
R * time (time) datetime64[ns] 160B NaT 2000-01-02 ... 2000-01-19 2000-01-20
L numbers (dim3) int64 80B 0 1 2 0 0 1 1 2 2 3
R numbers (dim3) float64 80B ...
xarray/tests/test_backends.py::TestZarrDirectoryStore::test_roundtrip_test_data[2]: AssertionError: assert (dtype('int64') == dtype('float64') or ('i' in {'O', 'S', 'U'}))
+ where 'i' = dtype('int64').kind
xarray/tests/test_backends.py::TestZarrDirectoryStore::test_load[2]: AssertionError: Left and right Dataset objects are not identical
Differing coordinates:
L * time (time) datetime64[ns] 160B 2000-01-01 2000-01-02 ... 2000-01-20
R * time (time) datetime64[ns] 160B NaT 2000-01-02 ... 2000-01-19 2000-01-20
L numbers (dim3) int64 80B 0 1 2 0 0 1 1 2 2 3
R numbers (dim3) float64 80B nan 1.0 2.0 nan nan 1.0 1.0 2.0 2.0 3.0
xarray/tests/test_backends.py::TestZarrDirectoryStore::test_dataset_compute[2]: AssertionError: Left and right Dataset objects are not identical
Differing coordinates:
L * time (time) datetime64[ns] 160B 2000-01-01 2000-01-02 ... 2000-01-20
R * time (time) datetime64[ns] 160B NaT 2000-01-02 ... 2000-01-19 2000-01-20
L numbers (dim3) int64 80B 0 1 2 0 0 1 1 2 2 3
R numbers (dim3) float64 80B nan 1.0 2.0 nan nan 1.0 1.0 2.0 2.0 3.0
xarray/tests/test_backends.py::TestZarrDirectoryStore::test_roundtrip_None_variable[2]: AssertionError: Left and right Dataset objects are not identical
Differing data variables:
L None (x, y) int64 32B 0 1 2 3
R None (x, y) float64 32B nan 1.0 2.0 3.0
xarray/tests/test_backends.py::TestZarrDirectoryStore::test_roundtrip_object_dtype[2 failing variants]: ValueError: When changing to a smaller dtype, its size must be a divisor of the size of original dtype
xarray/tests/test_backends.py::TestZarrDirectoryStore::test_roundtrip_numpy_datetime_data[2]: AssertionError: Left and right Dataset objects are not identical
Differing coordinates:
L * t (t) datetime64[ns] 24B 2000-01-01 2000-01-02 NaT
R * t (t) datetime64[ns] 24B NaT 2000-01-02 NaT
xarray/tests/test_backends.py::TestZarrDirectoryStore::test_roundtrip_cftime_datetime_data[2]: ValueError: Failed to decode variable 't0': unable to decode time units 'days since 0001-01-01' with "calendar 'noleap'". Try opening your dataset with decode_times=False or installing cftime if it is not installed.
xarray/tests/test_backends.py::TestZarrDirectoryStore::test_roundtrip_coordinates[2]: AssertionError: Left and right Dataset objects are not identical
Differing data variables:
L foo (x) int64 16B 0 1
R foo (x) float64 16B nan 1.0
xarray/tests/test_backends.py::TestZarrDirectoryStore::test_roundtrip_global_coordinates[2]: AssertionError: Left and right Dataset objects are not identical
Differing data variables:
L foo (x) int64 16B 0 1
R foo (x) float64 16B nan 1.0
xarray/tests/test_backends.py::TestZarrDirectoryStore::test_roundtrip_coordinates_with_space[2]: AssertionError: Left and right Dataset objects are not identical
Differing coordinates:
L x int64 8B 0
R x float64 8B nan
xarray/tests/test_backends.py::TestZarrDirectoryStore::test_roundtrip_boolean_dtype[2]: AssertionError: Left and right Dataset objects are not identical
Differing data variables:
L x (t) bool 4B True False False True
R x (t) bool 4B True True True True
xarray/tests/test_backends.py::TestZarrDirectoryStore::test_orthogonal_indexing[2]: AssertionError: Left and right Dataset objects are not identical
Differing coordinates:
L * time (time) datetime64[ns] 160B 2000-01-01 2000-01-02 ... 2000-01-20
R * time (time) datetime64[ns] 160B NaT 2000-01-02 ... 2000-01-19 2000-01-20
L numbers (dim3) int64 40B 0 1 2 0 0
R numbers (dim3) float64 40B nan 1.0 2.0 nan nan
xarray/tests/test_backends.py::TestZarrDirectoryStore::test_vectorized_indexing[2]: AssertionError: Left and right Dataset objects are not identical
Differing coordinates:
L * time (time) datetime64[ns] 160B 2000-01-01 2000-01-02 ... 2000-01-20
R * time (time) datetime64[ns] 160B NaT 2000-01-02 ... 2000-01-19 2000-01-20
L numbers (dim3) int64 80B 0 1 2 0 0 1 1 2 2 3
R numbers (dim3) float64 80B nan 1.0 2.0 nan nan 1.0 1.0 2.0 2.0 3.0
xarray/tests/test_backends.py::TestZarrDirectoryStore::test_vectorized_indexing_negative_step[2]: AssertionError: Left and right DataArray objects are not identical
Differing coordinates:
L numbers (dim3) int64 64B 3 2 2 1 1 0 0 2
R numbers (dim3) float64 64B 3.0 2.0 2.0 1.0 1.0 nan nan 2.0
xarray/tests/test_backends.py::TestZarrDirectoryStore::test_isel_dataarray[2]: AssertionError: Left and right Dataset objects are not identical
Differing coordinates:
L * time (time) datetime64[ns] 160B 2000-01-01 2000-01-02 ... 2000-01-20
R * time (time) datetime64[ns] 160B NaT 2000-01-02 ... 2000-01-19 2000-01-20
L numbers (dim3) int64 80B 0 1 2 0 0 1 1 2 2 3
R numbers (dim3) float64 80B nan 1.0 2.0 nan nan 1.0 1.0 2.0 2.0 3.0
xarray/tests/test_backends.py::TestZarrDirectoryStore::test_array_type_after_indexing[2]: AssertionError: Left and right Dataset objects are not identical
Differing coordinates:
L * time (time) datetime64[ns] 160B 2000-01-01 2000-01-02 ... 2000-01-20
R * time (time) datetime64[ns] 160B NaT 2000-01-02 ... 2000-01-19 2000-01-20
L numbers (dim3) int64 40B 0 1 2 0 0
R numbers (dim3) float64 40B nan 1.0 2.0 nan nan
xarray/tests/test_backends.py::TestZarrDirectoryStore::test_dropna[2]: AssertionError: Left and right Dataset objects are not identical
Differing coordinates:
L * x (x) int64 16B 0 2
R * x (x) float64 16B nan 2.0
L * y (y) int64 32B 0 1 2 3
R * y (y) float64 32B nan 1.0 2.0 3.0
xarray/tests/test_backends.py::TestZarrDirectoryStore::test_coordinate_variables_after_dataset_roundtrip[2]: AssertionError: Left and right Dataset objects are not identical
Differing coordinates:
L * longitude (longitude) float64 16B nan 1.0
R * longitude (longitude) int64 16B 0 1
L longitude_bnds (longitude, bnds2) float64 32B nan 1.0 1.0 2.0
R longitude_bnds (longitude, bnds2) int64 32B 0 1 1 2
L latitude_bnds (latitude, bnds2) float64 32B nan 1.0 1.0 2.0
R latitude_bnds (latitude, bnds2) int64 32B 0 1 1 2
L * latitude (latitude) float64 16B nan 1.0
R * latitude (latitude) int64 16B 0 1
xarray/tests/test_backends.py::TestZarrDirectoryStore::test_grid_mapping_and_bounds_are_coordinates_after_dataarray_roundtrip[2]: AssertionError: Left and right Dataset objects are not identical
Differing coordinates:
L * longitude (longitude) float64 16B nan 1.0
R * longitude (longitude) int64 16B 0 1
L * latitude (latitude) float64 16B nan 1.0
R * latitude (latitude) int64 16B 0 1
xarray/tests/test_backends.py::TestZarrDirectoryStore::test_coordinates_encoding[2]: AssertionError: Left and right Dataset objects are not identical
Differing data variables:
L temp (x) float64 16B nan 1.0
R temp (x) int64 16B 0 1
L precip (x) float64 16B nan -1.0
R precip (x) int64 16B 0 -1
xarray/tests/test_backends.py::TestZarrDirectoryStore::test_default_fill_value[2]: AssertionError: assert '_FillValue' not in {'_FillValue': np.int16(0), 'chunks': (10,), 'compressors': (Blosc(cname='lz4', clevel=5, shuffle=SHUFFLE, blocksize=0),), 'dtype': dtype('<i2'), ...}
+ where {'_FillValue': np.int16(0), 'chunks': (10,), 'compressors': (Blosc(cname='lz4', clevel=5, shuffle=SHUFFLE, blocksize=0),), 'dtype': dtype('<i2'), ...} = <xarray.DataArray 'x' (y: 10)> Size: 40B\n[10 values with dtype=float32]\nDimensions without coordinates: y.encoding
+ where <xarray.DataArray 'x' (y: 10)> Size: 40B\n[10 values with dtype=float32]\nDimensions without coordinates: y = <xarray.Dataset> Size: 40B\nDimensions: (y: 10)\nDimensions without coordinates: y\nData variables:\n x (y) float32 40B ....x
xarray/tests/test_backends.py::TestZarrDirectoryStore::test_explicitly_omit_fill_value[2]: AssertionError: assert '_FillValue' not in {'_FillValue': np.float64(0.0), 'chunks': (2,), 'compressors': (Blosc(cname='lz4', clevel=5, shuffle=SHUFFLE, blocksize=0),), 'dtype': dtype('<f8'), ...}
+ where {'_FillValue': np.float64(0.0), 'chunks': (2,), 'compressors': (Blosc(cname='lz4', clevel=5, shuffle=SHUFFLE, blocksize=0),), 'dtype': dtype('<f8'), ...} = <xarray.DataArray 'x' (y: 2)> Size: 16B\n[2 values with dtype=float64]\nDimensions without coordinates: y.encoding
+ where <xarray.DataArray 'x' (y: 2)> Size: 16B\n[2 values with dtype=float64]\nDimensions without coordinates: y = <xarray.Dataset> Size: 16B\nDimensions: (y: 2)\nDimensions without coordinates: y\nData variables:\n x (y) float64 16B ....x
xarray/tests/test_backends.py::TestZarrDirectoryStore::test_explicitly_omit_fill_value_via_encoding_kwarg[2]: AssertionError: assert '_FillValue' not in {'_FillValue': np.float64(0.0), 'chunks': (2,), 'compressors': (Blosc(cname='lz4', clevel=5, shuffle=SHUFFLE, blocksize=0),), 'dtype': dtype('<f8'), ...}
+ where {'_FillValue': np.float64(0.0), 'chunks': (2,), 'compressors': (Blosc(cname='lz4', clevel=5, shuffle=SHUFFLE, blocksize=0),), 'dtype': dtype('<f8'), ...} = <xarray.DataArray 'x' (y: 2)> Size: 16B\n[2 values with dtype=float64]\nDimensions without coordinates: y.encoding
+ where <xarray.DataArray 'x' (y: 2)> Size: 16B\n[2 values with dtype=float64]\nDimensions without coordinates: y = <xarray.Dataset> Size: 16B\nDimensions: (y: 2)\nDimensions without coordinates: y\nData variables:\n x (y) float64 16B ....x
xarray/tests/test_backends.py::TestZarrDirectoryStore::test_explicitly_omit_fill_value_in_coord[2]: AssertionError: assert '_FillValue' not in {'_FillValue': np.float64(0.0), 'chunks': (2,), 'compressors': (Blosc(cname='lz4', clevel=5, shuffle=SHUFFLE, blocksize=0),), 'dtype': dtype('<f8'), ...}
+ where {'_FillValue': np.float64(0.0), 'chunks': (2,), 'compressors': (Blosc(cname='lz4', clevel=5, shuffle=SHUFFLE, blocksize=0),), 'dtype': dtype('<f8'), ...} = <xarray.DataArray 'y' (y: 2)> Size: 16B\narray([nan, 1.])\nCoordinates:\n * y (y) float64 16B nan 1.0.encoding
+ where <xarray.DataArray 'y' (y: 2)> Size: 16B\narray([nan, 1.])\nCoordinates:\n * y (y) float64 16B nan 1.0 = <xarray.Dataset> Size: 32B\nDimensions: (y: 2)\nCoordinates:\n * y (y) float64 16B nan 1.0\nData variables:\n x (y) float64 16B ....y
xarray/tests/test_backends.py::TestZarrDirectoryStore::test_explicitly_omit_fill_value_in_coord_via_encoding_kwarg[2]: AssertionError: assert '_FillValue' not in {'_FillValue': np.float64(0.0), 'chunks': (2,), 'compressors': (Blosc(cname='lz4', clevel=5, shuffle=SHUFFLE, blocksize=0),), 'dtype': dtype('<f8'), ...}
+ where {'_FillValue': np.float64(0.0), 'chunks': (2,), 'compressors': (Blosc(cname='lz4', clevel=5, shuffle=SHUFFLE, blocksize=0),), 'dtype': dtype('<f8'), ...} = <xarray.DataArray 'y' (y: 2)> Size: 16B\narray([nan, 1.])\nCoordinates:\n * y (y) float64 16B nan 1.0.encoding
+ where <xarray.DataArray 'y' (y: 2)> Size: 16B\narray([nan, 1.])\nCoordinates:\n * y (y) float64 16B nan 1.0 = <xarray.Dataset> Size: 32B\nDimensions: (y: 2)\nCoordinates:\n * y (y) float64 16B nan 1.0\nData variables:\n x (y) float64 16B ....y
xarray/tests/test_backends.py::TestZarrDirectoryStore::test_append_overwrite_values[2]: AssertionError: Left and right Dataset objects are not identical
Differing coordinates:
L * time (time) datetime64[ns] 160B 2000-01-01 2000-01-02 ... 2000-01-20
R * time (time) datetime64[ns] 160B NaT 2000-01-02 ... 2000-01-19 2000-01-20
L numbers (dim3) int64 80B 0 1 2 0 0 1 1 2 2 3
R numbers (dim3) float64 80B nan 1.0 2.0 nan nan 1.0 1.0 2.0 2.0 3.0
xarray/tests/test_backends.py::TestZarrDirectoryStore::test_string_object_warning[2 failing variants]: ValueError: When changing to a smaller dtype, its size must be a divisor of the size of original dtype
xarray/tests/test_backends.py::TestZarrDirectoryStore::test_roundtrip_consolidated[3 failing variants]: AssertionError: assert (dtype('int64') == dtype('float64') or ('i' in {'O', 'S', 'U'}))
+ where 'i' = dtype('int64').kind
xarray/tests/test_backends.py::TestZarrDirectoryStore::test_read_non_consolidated_warning[2]: AssertionError: Left and right Dataset objects are not identical
Differing coordinates:
L * time (time) datetime64[ns] 160B NaT 2000-01-02 ... 2000-01-19 2000-01-20
R * time (time) datetime64[ns] 160B 2000-01-01 2000-01-02 ... 2000-01-20
L numbers (dim3) float64 80B dask.array<chunksize=(10,), meta=np.ndarray>
R numbers (dim3) int64 80B 0 1 2 0 0 1 1 2 2 3
xarray/tests/test_backends.py::TestZarrDirectoryStore::test_non_existent_store[2]: AssertionError: Regex pattern did not match.
Regex: '(No such file or directory|Unable to find group)'
Input: "No group found in store '/tmp/pytest-of-runner/pytest-0/popen-gw0/test_non_existent_store_2_1/ff270513-943a-4069-9483-cedda5ef7713' at path ''"
xarray/tests/test_backends.py::TestZarrDirectoryStore::test_write_persistence_modes[2 failing variants]: AssertionError: Left and right Dataset objects are not identical
Differing coordinates:
L * time (time) datetime64[ns] 160B 2000-01-01 2000-01-02 ... 2000-01-20
R * time (time) datetime64[ns] 160B NaT 2000-01-02 ... 2000-01-19 2000-01-20
L numbers (dim3) int64 80B 0 1 2 0 0 1 1 2 2 3
R numbers (dim3) float64 80B nan 1.0 2.0 nan nan 1.0 1.0 2.0 2.0 3.0
xarray/tests/test_backends.py::TestZarrDirectoryStore::test_group[2]: AssertionError: Left and right Dataset objects are not identical
Differing coordinates:
L * time (time) datetime64[ns] 160B 2000-01-01 2000-01-02 ... 2000-01-20
R * time (time) datetime64[ns] 160B NaT 2000-01-02 ... 2000-01-19 2000-01-20
L numbers (dim3) int64 80B 0 1 2 0 0 1 1 2 2 3
R numbers (dim3) float64 80B nan 1.0 2.0 nan nan 1.0 1.0 2.0 2.0 3.0
xarray/tests/test_backends.py::TestZarrDirectoryStore::test_append_write[2]: AssertionError: Left and right Dataset objects are not identical
Differing coordinates:
L * time (time) datetime64[ns] 160B 2000-01-01 2000-01-02 ... 2000-01-20
R * time (time) datetime64[ns] 160B NaT 2000-01-02 ... 2000-01-19 2000-01-20
L numbers (dim3) int64 80B 0 1 2 0 0 1 1 2 2 3
R numbers (dim3) float64 80B nan 1.0 2.0 nan nan 1.0 1.0 2.0 2.0 3.0
xarray/tests/test_backends.py::TestZarrDirectoryStore::test_append_string_length_mismatch_raises[2 failing variants]: Failed: DID NOT RAISE <class 'ValueError'>
xarray/tests/test_backends.py::TestZarrDirectoryStore::test_check_encoding_is_consistent_after_append[2 failing variants]: ValueError: When changing to a smaller dtype, its size must be a divisor of the size of original dtype
xarray/tests/test_backends.py::TestZarrDirectoryStore::test_append_with_new_variable[2 failing variants]: ValueError: When changing to a smaller dtype, its size must be a divisor of the size of original dtype
xarray/tests/test_backends.py::TestZarrDirectoryStore::test_append_with_append_dim_no_overwrite[2 failing variants]: ValueError: When changing to a smaller dtype, its size must be a divisor of the size of original dtype
xarray/tests/test_backends.py::TestZarrDirectoryStore::test_to_zarr_compute_false_roundtrip[2]: AssertionError: Left and right Dataset objects are not identical
Differing coordinates:
L * time (time) datetime64[ns] 160B 2000-01-01 2000-01-02 ... 2000-01-20
R * time (time) datetime64[ns] 160B NaT 2000-01-02 ... 2000-01-19 2000-01-20
L numbers (dim3) int64 80B dask.array<chunksize=(10,), meta=np.ndarray>
R numbers (dim3) float64 80B nan 1.0 2.0 nan nan 1.0 1.0 2.0 2.0 3.0
xarray/tests/test_backends.py::TestZarrDirectoryStore::test_to_zarr_append_compute_false_roundtrip[2 failing variants]: ValueError: When changing to a smaller dtype, its size must be a divisor of the size of original dtype
xarray/tests/test_backends.py::TestZarrDirectoryStore::test_write_region_errors[2]: AssertionError: Left and right Dataset objects are not identical
Differing data variables:
L u (x) float64 40B nan 1.0 2.0 3.0 4.0
R u (x) int64 40B 0 1 2 3 4
xarray/tests/test_backends.py::TestZarrDirectoryStore::test_encoding_chunksizes[2]: AssertionError: Left and right Dataset objects are not equal
Differing coordinates:
L * x (x) float64 32B nan 1.0 2.0 3.0
R * x (x) int64 32B 0 1 2 3
L * t (t) float64 40B nan 1.0 2.0 3.0 4.0
R * t (t) int64 40B 0 1 2 3 4
L * y (y) float64 32B nan 1.0 2.0 3.0
R * y (y) int64 32B 0 1 2 3
xarray/tests/test_backends.py::TestZarrDirectoryStore::test_open_zarr_use_cftime[2]: AssertionError: Left and right Dataset objects are not identical
Differing coordinates:
L * time (time) datetime64[ns] 160B 2000-01-01 2000-01-02 ... 2000-01-20
R * time (time) datetime64[ns] 160B NaT 2000-01-02 ... 2000-01-19 2000-01-20
L numbers (dim3) int64 80B 0 1 2 0 0 1 1 2 2 3
R numbers (dim3) float64 80B dask.array<chunksize=(10,), meta=np.ndarray>
xarray/tests/test_backends.py::TestZarrWriteEmpty::test_zero_dimensional_variable[2]: AssertionError: Left and right Dataset objects are not identical
Differing coordinates:
L * time (time) datetime64[ns] 160B 2000-01-01 2000-01-02 ... 2000-01-20
R * time (time) datetime64[ns] 160B NaT 2000-01-02 ... 2000-01-20
L numbers (dim3) int64 80B 0 1 2 0 0 1 1 2 2 3
R numbers (dim3) float64 80B nan 1.0 2.0 nan nan 1.0 1.0 2.0 2.0 3.0
xarray/tests/test_backends.py::TestZarrWriteEmpty::test_write_store[2]: AssertionError: Left and right Dataset objects are not close
Differing coordinates:
L * time (time) datetime64[ns] 160B 2000-01-01 2000-01-02 ... 2000-01-20
R * time (time) datetime64[ns] 160B NaT 2000-01-02 ... 2000-01-19 2000-01-20
L numbers (dim3) int64 80B 0 1 2 0 0 1 1 2 2 3
R numbers (dim3) float64 80B ...
xarray/tests/test_backends.py::TestZarrWriteEmpty::test_roundtrip_test_data[2]: AssertionError: assert (dtype('int64') == dtype('float64') or ('i' in {'O', 'S', 'U'}))
+ where 'i' = dtype('int64').kind
xarray/tests/test_backends.py::TestZarrWriteEmpty::test_load[2]: AssertionError: Left and right Dataset objects are not identical
Differing coordinates:
L * time (time) datetime64[ns] 160B 2000-01-01 2000-01-02 ... 2000-01-20
R * time (time) datetime64[ns] 160B NaT 2000-01-02 ... 2000-01-19 2000-01-20
L numbers (dim3) int64 80B 0 1 2 0 0 1 1 2 2 3
R numbers (dim3) float64 80B nan 1.0 2.0 nan nan 1.0 1.0 2.0 2.0 3.0
xarray/tests/test_backends.py::TestZarrWriteEmpty::test_dataset_compute[2]: AssertionError: Left and right Dataset objects are not identical
Differing coordinates:
L * time (time) datetime64[ns] 160B 2000-01-01 2000-01-02 ... 2000-01-20
R * time (time) datetime64[ns] 160B NaT 2000-01-02 ... 2000-01-19 2000-01-20
L numbers (dim3) int64 80B 0 1 2 0 0 1 1 2 2 3
R numbers (dim3) float64 80B nan 1.0 2.0 nan nan 1.0 1.0 2.0 2.0 3.0
xarray/tests/test_backends.py::TestZarrWriteEmpty::test_roundtrip_None_variable[2]: AssertionError: Left and right Dataset objects are not identical
Differing data variables:
L None (x, y) int64 32B 0 1 2 3
R None (x, y) float64 32B nan 1.0 2.0 3.0
xarray/tests/test_backends.py::TestZarrWriteEmpty::test_roundtrip_object_dtype[2 failing variants]: ValueError: When changing to a smaller dtype, its size must be a divisor of the size of original dtype
xarray/tests/test_backends.py::TestZarrWriteEmpty::test_roundtrip_numpy_datetime_data[2]: AssertionError: Left and right Dataset objects are not identical
Differing coordinates:
L * t (t) datetime64[ns] 24B 2000-01-01 2000-01-02 NaT
R * t (t) datetime64[ns] 24B NaT 2000-01-02 NaT
xarray/tests/test_backends.py::TestZarrWriteEmpty::test_roundtrip_cftime_datetime_data[2]: ValueError: Failed to decode variable 't0': unable to decode time units 'days since 0001-01-01' with "calendar 'noleap'". Try opening your dataset with decode_times=False or installing cftime if it is not installed.
xarray/tests/test_backends.py::TestZarrWriteEmpty::test_roundtrip_coordinates[2]: AssertionError: Left and right Dataset objects are not identical
Differing data variables:
L foo (x) int64 16B 0 1
R foo (x) float64 16B nan 1.0
xarray/tests/test_backends.py::TestZarrWriteEmpty::test_roundtrip_global_coordinates[2]: AssertionError: Left and right Dataset objects are not identical
Differing data variables:
L foo (x) int64 16B 0 1
R foo (x) float64 16B nan 1.0
xarray/tests/test_backends.py::TestZarrWriteEmpty::test_roundtrip_coordinates_with_space[2]: AssertionError: Left and right Dataset objects are not identical
Differing coordinates:
L x int64 8B 0
R x float64 8B nan
xarray/tests/test_backends.py::TestZarrWriteEmpty::test_roundtrip_boolean_dtype[2]: AssertionError: Left and right Dataset objects are not identical
Differing data variables:
L x (t) bool 4B True False False True
R x (t) bool 4B True True True True
xarray/tests/test_backends.py::TestZarrWriteEmpty::test_orthogonal_indexing[2]: AssertionError: Left and right Dataset objects are not identical
Differing coordinates:
L * time (time) datetime64[ns] 160B 2000-01-01 2000-01-02 ... 2000-01-20
R * time (time) datetime64[ns] 160B NaT 2000-01-02 ... 2000-01-19 2000-01-20
L numbers (dim3) int64 40B 0 1 2 0 0
R numbers (dim3) float64 40B nan 1.0 2.0 nan nan
xarray/tests/test_backends.py::TestZarrWriteEmpty::test_vectorized_indexing[2]: AssertionError: Left and right Dataset objects are not identical
Differing coordinates:
L * time (time) datetime64[ns] 160B 2000-01-01 2000-01-02 ... 2000-01-20
R * time (time) datetime64[ns] 160B NaT 2000-01-02 ... 2000-01-19 2000-01-20
L numbers (dim3) int64 80B 0 1 2 0 0 1 1 2 2 3
R numbers (dim3) float64 80B nan 1.0 2.0 nan nan 1.0 1.0 2.0 2.0 3.0
xarray/tests/test_backends.py::TestZarrWriteEmpty::test_vectorized_indexing_negative_step[2]: AssertionError: Left and right DataArray objects are not identical
Differing coordinates:
L numbers (dim3) int64 64B 3 2 2 1 1 0 0 2
R numbers (dim3) float64 64B 3.0 2.0 2.0 1.0 1.0 nan nan 2.0
xarray/tests/test_backends.py::TestZarrWriteEmpty::test_isel_dataarray[2]: AssertionError: Left and right Dataset objects are not identical
Differing coordinates:
L * time (time) datetime64[ns] 160B 2000-01-01 2000-01-02 ... 2000-01-20
R * time (time) datetime64[ns] 160B NaT 2000-01-02 ... 2000-01-19 2000-01-20
L numbers (dim3) int64 80B 0 1 2 0 0 1 1 2 2 3
R numbers (dim3) float64 80B nan 1.0 2.0 nan nan 1.0 1.0 2.0 2.0 3.0
xarray/tests/test_backends.py::TestZarrWriteEmpty::test_array_type_after_indexing[2]: AssertionError: Left and right Dataset objects are not identical
Differing coordinates:
L * time (time) datetime64[ns] 160B 2000-01-01 2000-01-02 ... 2000-01-20
R * time (time) datetime64[ns] 160B NaT 2000-01-02 ... 2000-01-19 2000-01-20
L numbers (dim3) int64 40B 0 1 2 0 0
R numbers (dim3) float64 40B nan 1.0 2.0 nan nan
xarray/tests/test_backends.py::TestZarrWriteEmpty::test_dropna[2]: AssertionError: Left and right Dataset objects are not identical
Differing coordinates:
L * x (x) int64 16B 0 2
R * x (x) float64 16B nan 2.0
L * y (y) int64 32B 0 1 2 3
R * y (y) float64 32B nan 1.0 2.0 3.0
xarray/tests/test_backends.py::TestZarrWriteEmpty::test_coordinate_variables_after_dataset_roundtrip[2]: AssertionError: Left and right Dataset objects are not identical
Differing coordinates:
L * longitude (longitude) float64 16B nan 1.0
R * longitude (longitude) int64 16B 0 1
L longitude_bnds (longitude, bnds2) float64 32B nan 1.0 1.0 2.0
R longitude_bnds (longitude, bnds2) int64 32B 0 1 1 2
L latitude_bnds (latitude, bnds2) float64 32B nan 1.0 1.0 2.0
R latitude_bnds (latitude, bnds2) int64 32B 0 1 1 2
L * latitude (latitude) float64 16B nan 1.0
R * latitude (latitude) int64 16B 0 1
xarray/tests/test_backends.py::TestZarrWriteEmpty::test_grid_mapping_and_bounds_are_coordinates_after_dataarray_roundtrip[2]: AssertionError: Left and right Dataset objects are not identical
Differing coordinates:
L * longitude (longitude) float64 16B nan 1.0
R * longitude (longitude) int64 16B 0 1
L * latitude (latitude) float64 16B nan 1.0
R * latitude (latitude) int64 16B 0 1
xarray/tests/test_backends.py::TestZarrWriteEmpty::test_coordinates_encoding[2]: AssertionError: Left and right Dataset objects are not identical
Differing data variables:
L temp (x) float64 16B nan 1.0
R temp (x) int64 16B 0 1
L precip (x) float64 16B nan -1.0
R precip (x) int64 16B 0 -1
xarray/tests/test_backends.py::TestZarrWriteEmpty::test_default_fill_value[2]: AssertionError: assert '_FillValue' not in {'_FillValue': np.int16(0), 'chunks': (10,), 'compressors': (Blosc(cname='lz4', clevel=5, shuffle=SHUFFLE, blocksize=0),), 'dtype': dtype('<i2'), ...}
+ where {'_FillValue': np.int16(0), 'chunks': (10,), 'compressors': (Blosc(cname='lz4', clevel=5, shuffle=SHUFFLE, blocksize=0),), 'dtype': dtype('<i2'), ...} = <xarray.DataArray 'x' (y: 10)> Size: 40B\n[10 values with dtype=float32]\nDimensions without coordinates: y.encoding
+ where <xarray.DataArray 'x' (y: 10)> Size: 40B\n[10 values with dtype=float32]\nDimensions without coordinates: y = <xarray.Dataset> Size: 40B\nDimensions: (y: 10)\nDimensions without coordinates: y\nData variables:\n x (y) float32 40B ....x
xarray/tests/test_backends.py::TestZarrWriteEmpty::test_explicitly_omit_fill_value[2]: AssertionError: assert '_FillValue' not in {'_FillValue': np.float64(0.0), 'chunks': (2,), 'compressors': (Blosc(cname='lz4', clevel=5, shuffle=SHUFFLE, blocksize=0),), 'dtype': dtype('<f8'), ...}
+ where {'_FillValue': np.float64(0.0), 'chunks': (2,), 'compressors': (Blosc(cname='lz4', clevel=5, shuffle=SHUFFLE, blocksize=0),), 'dtype': dtype('<f8'), ...} = <xarray.DataArray 'x' (y: 2)> Size: 16B\n[2 values with dtype=float64]\nDimensions without coordinates: y.encoding
+ where <xarray.DataArray 'x' (y: 2)> Size: 16B\n[2 values with dtype=float64]\nDimensions without coordinates: y = <xarray.Dataset> Size: 16B\nDimensions: (y: 2)\nDimensions without coordinates: y\nData variables:\n x (y) float64 16B ....x
xarray/tests/test_backends.py::TestZarrWriteEmpty::test_explicitly_omit_fill_value_via_encoding_kwarg[2]: AssertionError: assert '_FillValue' not in {'_FillValue': np.float64(0.0), 'chunks': (2,), 'compressors': (Blosc(cname='lz4', clevel=5, shuffle=SHUFFLE, blocksize=0),), 'dtype': dtype('<f8'), ...}
+ where {'_FillValue': np.float64(0.0), 'chunks': (2,), 'compressors': (Blosc(cname='lz4', clevel=5, shuffle=SHUFFLE, blocksize=0),), 'dtype': dtype('<f8'), ...} = <xarray.DataArray 'x' (y: 2)> Size: 16B\n[2 values with dtype=float64]\nDimensions without coordinates: y.encoding
+ where <xarray.DataArray 'x' (y: 2)> Size: 16B\n[2 values with dtype=float64]\nDimensions without coordinates: y = <xarray.Dataset> Size: 16B\nDimensions: (y: 2)\nDimensions without coordinates: y\nData variables:\n x (y) float64 16B ....x
xarray/tests/test_backends.py::TestZarrWriteEmpty::test_explicitly_omit_fill_value_in_coord[2]: AssertionError: assert '_FillValue' not in {'_FillValue': np.float64(0.0), 'chunks': (2,), 'compressors': (Blosc(cname='lz4', clevel=5, shuffle=SHUFFLE, blocksize=0),), 'dtype': dtype('<f8'), ...}
+ where {'_FillValue': np.float64(0.0), 'chunks': (2,), 'compressors': (Blosc(cname='lz4', clevel=5, shuffle=SHUFFLE, blocksize=0),), 'dtype': dtype('<f8'), ...} = <xarray.DataArray 'y' (y: 2)> Size: 16B\narray([nan, 1.])\nCoordinates:\n * y (y) float64 16B nan 1.0.encoding
+ where <xarray.DataArray 'y' (y: 2)> Size: 16B\narray([nan, 1.])\nCoordinates:\n * y (y) float64 16B nan 1.0 = <xarray.Dataset> Size: 32B\nDimensions: (y: 2)\nCoordinates:\n * y (y) float64 16B nan 1.0\nData variables:\n x (y) float64 16B ....y
xarray/tests/test_backends.py::TestZarrWriteEmpty::test_explicitly_omit_fill_value_in_coord_via_encoding_kwarg[2]: AssertionError: assert '_FillValue' not in {'_FillValue': np.float64(0.0), 'chunks': (2,), 'compressors': (Blosc(cname='lz4', clevel=5, shuffle=SHUFFLE, blocksize=0),), 'dtype': dtype('<f8'), ...}
+ where {'_FillValue': np.float64(0.0), 'chunks': (2,), 'compressors': (Blosc(cname='lz4', clevel=5, shuffle=SHUFFLE, blocksize=0),), 'dtype': dtype('<f8'), ...} = <xarray.DataArray 'y' (y: 2)> Size: 16B\narray([nan, 1.])\nCoordinates:\n * y (y) float64 16B nan 1.0.encoding
+ where <xarray.DataArray 'y' (y: 2)> Size: 16B\narray([nan, 1.])\nCoordinates:\n * y (y) float64 16B nan 1.0 = <xarray.Dataset> Size: 32B\nDimensions: (y: 2)\nCoordinates:\n * y (y) float64 16B nan 1.0\nData variables:\n x (y) float64 16B ....y
xarray/tests/test_backends.py::TestZarrWriteEmpty::test_append_overwrite_values[2]: AssertionError: Left and right Dataset objects are not identical
Differing coordinates:
L * time (time) datetime64[ns] 160B 2000-01-01 2000-01-02 ... 2000-01-20
R * time (time) datetime64[ns] 160B NaT 2000-01-02 ... 2000-01-19 2000-01-20
L numbers (dim3) int64 80B 0 1 2 0 0 1 1 2 2 3
R numbers (dim3) float64 80B nan 1.0 2.0 nan nan 1.0 1.0 2.0 2.0 3.0
xarray/tests/test_backends.py::TestZarrWriteEmpty::test_string_object_warning[2 failing variants]: ValueError: When changing to a smaller dtype, its size must be a divisor of the size of original dtype
xarray/tests/test_backends.py::TestZarrWriteEmpty::test_roundtrip_consolidated[3 failing variants]: AssertionError: assert (dtype('int64') == dtype('float64') or ('i' in {'O', 'S', 'U'}))
+ where 'i' = dtype('int64').kind
xarray/tests/test_backends.py::TestZarrWriteEmpty::test_read_non_consolidated_warning[2]: AssertionError: Left and right Dataset objects are not identical
Differing coordinates:
L * time (time) datetime64[ns] 160B NaT 2000-01-02 ... 2000-01-19 2000-01-20
R * time (time) datetime64[ns] 160B 2000-01-01 2000-01-02 ... 2000-01-20
L numbers (dim3) float64 80B dask.array<chunksize=(10,), meta=np.ndarray>
R numbers (dim3) int64 80B 0 1 2 0 0 1 1 2 2 3
xarray/tests/test_backends.py::TestZarrWriteEmpty::test_non_existent_store[2]: AssertionError: Regex pattern did not match.
Regex: '(No such file or directory|Unable to find group)'
Input: "No group found in store '/tmp/pytest-of-runner/pytest-0/popen-gw0/test_non_existent_store_2_2/9ab01e5d-20c9-4e6e-9f64-cbe5dacbd585' at path ''"
xarray/tests/test_backends.py::TestZarrWriteEmpty::test_write_persistence_modes[2 failing variants]: AssertionError: Left and right Dataset objects are not identical
Differing coordinates:
L * time (time) datetime64[ns] 160B 2000-01-01 2000-01-02 ... 2000-01-20
R * time (time) datetime64[ns] 160B NaT 2000-01-02 ... 2000-01-19 2000-01-20
L numbers (dim3) int64 80B 0 1 2 0 0 1 1 2 2 3
R numbers (dim3) float64 80B nan 1.0 2.0 nan nan 1.0 1.0 2.0 2.0 3.0
xarray/tests/test_backends.py::TestZarrWriteEmpty::test_group[2]: AssertionError: Left and right Dataset objects are not identical
Differing coordinates:
L * time (time) datetime64[ns] 160B 2000-01-01 2000-01-02 ... 2000-01-20
R * time (time) datetime64[ns] 160B NaT 2000-01-02 ... 2000-01-19 2000-01-20
L numbers (dim3) int64 80B 0 1 2 0 0 1 1 2 2 3
R numbers (dim3) float64 80B nan 1.0 2.0 nan nan 1.0 1.0 2.0 2.0 3.0
xarray/tests/test_backends.py::TestZarrWriteEmpty::test_append_write[2]: AssertionError: Left and right Dataset objects are not identical
Differing coordinates:
L * time (time) datetime64[ns] 160B 2000-01-01 2000-01-02 ... 2000-01-20
R * time (time) datetime64[ns] 160B NaT 2000-01-02 ... 2000-01-19 2000-01-20
L numbers (dim3) int64 80B 0 1 2 0 0 1 1 2 2 3
R numbers (dim3) float64 80B nan 1.0 2.0 nan nan 1.0 1.0 2.0 2.0 3.0
xarray/tests/test_backends.py::TestZarrWriteEmpty::test_append_string_length_mismatch_raises[2 failing variants]: Failed: DID NOT RAISE <class 'ValueError'>
xarray/tests/test_backends.py::TestZarrWriteEmpty::test_check_encoding_is_consistent_after_append[2 failing variants]: ValueError: When changing to a smaller dtype, its size must be a divisor of the size of original dtype
xarray/tests/test_backends.py::TestZarrWriteEmpty::test_append_with_new_variable[2 failing variants]: ValueError: When changing to a smaller dtype, its size must be a divisor of the size of original dtype
xarray/tests/test_backends.py::TestZarrWriteEmpty::test_append_with_append_dim_no_overwrite[2 failing variants]: ValueError: When changing to a smaller dtype, its size must be a divisor of the size of original dtype
xarray/tests/test_backends.py::TestZarrWriteEmpty::test_to_zarr_compute_false_roundtrip[2]: AssertionError: Left and right Dataset objects are not identical
Differing coordinates:
L * time (time) datetime64[ns] 160B 2000-01-01 2000-01-02 ... 2000-01-20
R * time (time) datetime64[ns] 160B NaT 2000-01-02 ... 2000-01-19 2000-01-20
L numbers (dim3) int64 80B dask.array<chunksize=(10,), meta=np.ndarray>
R numbers (dim3) float64 80B nan 1.0 2.0 nan nan 1.0 1.0 2.0 2.0 3.0
xarray/tests/test_backends.py::TestZarrWriteEmpty::test_to_zarr_append_compute_false_roundtrip[2 failing variants]: ValueError: When changing to a smaller dtype, its size must be a divisor of the size of original dtype
xarray/tests/test_backends.py::TestZarrWriteEmpty::test_write_region_errors[2]: AssertionError: Left and right Dataset objects are not identical
Differing data variables:
L u (x) float64 40B nan 1.0 2.0 3.0 4.0
R u (x) int64 40B 0 1 2 3 4
xarray/tests/test_backends.py::TestZarrWriteEmpty::test_encoding_chunksizes[2]: AssertionError: Left and right Dataset objects are not equal
Differing coordinates:
L * x (x) float64 32B nan 1.0 2.0 3.0
R * x (x) int64 32B 0 1 2 3
L * t (t) float64 40B nan 1.0 2.0 3.0 4.0
R * t (t) int64 40B 0 1 2 3 4
L * y (y) float64 32B nan 1.0 2.0 3.0
R * y (y) int64 32B 0 1 2 3
xarray/tests/test_backends.py::TestZarrWriteEmpty::test_open_zarr_use_cftime[2]: AssertionError: Left and right Dataset objects are not identical
Differing coordinates:
L * time (time) datetime64[ns] 160B 2000-01-01 2000-01-02 ... 2000-01-20
R * time (time) datetime64[ns] 160B NaT 2000-01-02 ... 2000-01-19 2000-01-20
L numbers (dim3) int64 80B 0 1 2 0 0 1 1 2 2 3
R numbers (dim3) float64 80B dask.array<chunksize=(10,), meta=np.ndarray>
xarray/tests/test_backends.py::test_zarr_closing_internal_zip_store[2]: AssertionError: Left and right DataArray objects are not identical
Differing values:
L
array([[ 0, 1, 2, 3],
[ 4, 5, 6, 7],
[ 8, 9, 10, 11]])
R
array([[nan, 1., 2., 3.],
[ 4., 5., 6., 7.],
[ 8., 9., 10., 11.]])
xarray/tests/test_backends.py::TestZarrRegionAuto::test_zarr_region_auto[2 failing variants]: AssertionError: Left and right Dataset objects are not identical
Differing coordinates:
L * x (x) float64 40B nan 10.0 20.0 30.0 40.0
R * x (x) int64 40B 0 10 20 30 40
L * y (y) float64 80B nan 2.0 4.0 6.0 8.0 10.0 12.0 14.0 16.0 18.0
R * y (y) int64 80B 0 2 4 6 8 10 12 14 16 18
xarray/tests/test_backends.py::TestZarrRegionAuto::test_zarr_region_auto_noncontiguous[2]: KeyError: "Not all values of coordinate 'x' in the new array were found in the original store. Writing to a zarr region slice requires that no dimensions or metadata are changed by the write."
xarray/tests/test_backends.py::TestZarrRegionAuto::test_zarr_region_chunk_partial_offset[2]: KeyError: "Not all values of coordinate 'x' in the new array were found in the original store. Writing to a zarr region slice requires that no dimensions or metadata are changed by the write."
xarray/tests/test_backends.py::TestZarrRegionAuto::test_zarr_safe_chunk_append_dim[2]: AssertionError: assert False
+ where False = equals(<xarray.DataArray 'foo' (x: 11)> Size: 88B\ndask.array<getitem, shape=(11,), dtype=float64, chunksize=(5,), chunktype=numpy.ndarray>\nCoordinates:\n * x (x) int64 88B 0 1 2 3 4 5 6 7 8 9 10)
+ where equals = <xarray.DataArray 'foo' (x: 11)> Size: 88B\ndask.array<open_dataset-foo, shape=(11,), dtype=float64, chunksize=(5,), chunktype=numpy.ndarray>\nCoordinates:\n * x (x) float64 88B nan 1.0 2.0 3.0 4.0 5.0 6.0 7.0 8.0 9.0 10.0.equals
+ and <xarray.DataArray 'foo' (x: 11)> Size: 88B\ndask.array<getitem, shape=(11,), dtype=float64, chunksize=(5,), chunktype=numpy.ndarray>\nCoordinates:\n * x (x) int64 88B 0 1 2 3 4 5 6 7 8 9 10 = isel(x=slice(0, 11, None))
+ where isel = <xarray.DataArray 'foo' (x: 20)> Size: 160B\ndask.array<xarray-<this-array>, shape=(20,), dtype=float64, chunksize=(5,), chunktype=numpy.ndarray>\nCoordinates:\n * x (x) int64 160B 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19.isel
+ and slice(0, 11, None) = slice(0, 11)
xarray/tests/test_backends.py::TestZarrRegionAuto::test_zarr_safe_chunk_region[2 failing variants]: KeyError: "Not all values of coordinate 'a' in the new array were found in the original store. Writing to a zarr region slice requires that no dimensions or metadata are changed by the write."
xarray/tests/test_backends.py::TestZarrDictStore::test_non_existent_store[3]: AssertionError: Regex pattern did not match.
Regex: '(No such file or directory|Unable to find group)'
Input: "No group found in store '/tmp/pytest-of-runner/pytest-0/popen-gw0/test_non_existent_store_3_0/9d47e4e5-34c6-4d46-b6cf-9624f98ac994' at path ''"
xarray/tests/test_backends.py::TestZarrDictStore::test_warning_on_bad_chunks[3]: AssertionError: Got 1 unexpected warning(s): ["zarr.core.dtype.common.UnstableSpecificationWarning('The data type (FixedLengthUTF32(length=1, endianness='little')) does not have a Zarr V3 specification. That means that the representation of array saved with this data type may change without warning in a future version of Zarr Python. Arrays stored with this data type may be unreadable by other Zarr libraries. Use this data type at your own risk! Check https://github.com/zarr-developers/zarr-extensions/tree/main/data-types for the status of data type specifications for Zarr V3.'))"]
xarray/tests/test_backends.py::TestZarrDictStore::test_write_persistence_modes[2 failing variants]: ValueError: When changing to a smaller dtype, its size must be a divisor of the size of original dtype
xarray/tests/test_backends.py::TestZarrDictStore::test_append_string_length_mismatch_works[3-U]: ValueError: Mismatched dtypes for variable temperature between Zarr store on disk and dataset to append. Store has dtype <U2 but dataset to append has dtype <U5.
xarray/tests/test_backends.py::TestZarrDictStore::test_append_string_length_mismatch_works[3-S]: ValueError: Mismatched dtypes for variable temperature between Zarr store on disk and dataset to append. Store has dtype |S2 but dataset to append has dtype |S3.
xarray/tests/test_backends.py::TestZarrDirectoryStore::test_non_existent_store[3]: AssertionError: Regex pattern did not match.
Regex: '(No such file or directory|Unable to find group)'
Input: "No group found in store '/tmp/pytest-of-runner/pytest-0/popen-gw0/test_non_existent_store_3_1/6326dfa9-fc84-4358-b141-8ec0e24a402e' at path ''"
xarray/tests/test_backends.py::TestZarrDirectoryStore::test_warning_on_bad_chunks[3]: AssertionError: Got 1 unexpected warning(s): ["zarr.core.dtype.common.UnstableSpecificationWarning('The data type (FixedLengthUTF32(length=1, endianness='little')) does not have a Zarr V3 specification. That means that the representation of array saved with this data type may change without warning in a future version of Zarr Python. Arrays stored with this data type may be unreadable by other Zarr libraries. Use this data type at your own risk! Check https://github.com/zarr-developers/zarr-extensions/tree/main/data-types for the status of data type specifications for Zarr V3.'))"]
xarray/tests/test_backends.py::TestZarrDirectoryStore::test_write_persistence_modes[2 failing variants]: ValueError: When changing to a smaller dtype, its size must be a divisor of the size of original dtype
xarray/tests/test_backends.py::TestZarrDirectoryStore::test_append_string_length_mismatch_works[3-U]: ValueError: Mismatched dtypes for variable temperature between Zarr store on disk and dataset to append. Store has dtype <U2 but dataset to append has dtype <U5.
xarray/tests/test_backends.py::TestZarrDirectoryStore::test_append_string_length_mismatch_works[3-S]: ValueError: Mismatched dtypes for variable temperature between Zarr store on disk and dataset to append. Store has dtype |S2 but dataset to append has dtype |S3.
xarray/tests/test_backends.py::TestZarrWriteEmpty::test_non_existent_store[3]: AssertionError: Regex pattern did not match.
Regex: '(No such file or directory|Unable to find group)'
Input: "No group found in store '/tmp/pytest-of-runner/pytest-0/popen-gw0/test_non_existent_store_3_2/e9b02313-3117-42cc-bfd9-c9c63476e5ff' at path ''"
xarray/tests/test_backends.py::TestZarrWriteEmpty::test_warning_on_bad_chunks[3]: AssertionError: Got 1 unexpected warning(s): ["zarr.core.dtype.common.UnstableSpecificationWarning('The data type (FixedLengthUTF32(length=1, endianness='little')) does not have a Zarr V3 specification. That means that the representation of array saved with this data type may change without warning in a future version of Zarr Python. Arrays stored with this data type may be unreadable by other Zarr libraries. Use this data type at your own risk! Check https://github.com/zarr-developers/zarr-extensions/tree/main/data-types for the status of data type specifications for Zarr V3.'))"]
xarray/tests/test_backends.py::TestZarrWriteEmpty::test_write_persistence_modes[2 failing variants]: ValueError: When changing to a smaller dtype, its size must be a divisor of the size of original dtype
xarray/tests/test_backends.py::TestZarrWriteEmpty::test_append_string_length_mismatch_works[3-U]: ValueError: Mismatched dtypes for variable temperature between Zarr store on disk and dataset to append. Store has dtype <U2 but dataset to append has dtype <U5.
xarray/tests/test_backends.py::TestZarrWriteEmpty::test_append_string_length_mismatch_works[3-S]: ValueError: Mismatched dtypes for variable temperature between Zarr store on disk and dataset to append. Store has dtype |S2 but dataset to append has dtype |S3.
@Mikejmnez can you take a look please?
Sure will!
Does anyone have plans to address the Zarr-related failures due to store mode changes? We anticipate issues in VirtualiZarr due to this incompatibility. I can take a look if this isn't already being acted on.
doesn't look like it, so if you have the time / motivation feel free to send in a PR
doesn't look like it, so if you have the time / motivation feel free to send in a PR
I addressed the half of the failures that related to store modes in https://github.com/zarr-developers/zarr-python/pull/3156. I think @ianhi and @TomNicholas are working on the other dtype related failures in https://github.com/pydata/xarray/pull/10456.
There are pydap issues again which I thought to have fixed with #10421. But there are different behaviour for numpy < 2.3.0, numpy = 2.3.0 and numpy >= 2.3.1 and I'm having a hard time to trace the underlying issue.
Also I do not really get to the bottom of this .astype(str) within the tests. Is this just for comparison or what do we expect back from pydap? If its just to check the strings for equality independent of their encoding, it would make sense then to just test for any |S-type and convert unconditionally (version-wise).
I addressed the half of the failures that related to store modes in https://github.com/zarr-developers/zarr-python/pull/3156. I think @ianhi and @TomNicholas are working on the other dtype related failures in https://github.com/pydata/xarray/pull/10456.
On zarr there is also https://github.com/pydata/xarray/pull/10457, but I think there might be some other permission-related changes to make yet - when I run the tests locally with that xarray PR and the latest zarr, I still get a lot of
ValueError: Store is not read-only but mode is 'r'. Unable to create a read-only copy of the store. Please use a read-only store or a storage class that implements .with_read_on...
I think there might be some other permission-related changes to make yet - when I run the tests locally with that xarray PR and the latest zarr, I still get a lot of ...
Is this using a MemoryStore?
Is this using a MemoryStore?
Probably yes, we have a lot of tests which use that.
Is this using a MemoryStore?
Probably yes, we have a lot of tests which use that.
I'll take a look later today. I thought I had checked that all the tests passed, but must have missed some.
Actually looking again I think the problem is that my new test in that PR uses WrapperStore?
Actually looking again I think the problem is that my new test in that PR uses
WrapperStore?
ah yes, your store would need to implement with_read_only() which could call the wrapped store's with_read_only().
ah yes, your store would need to implement
with_read_only()which could call the wrapped store'swith_read_only().
Except that doesn't work because the wrapped store is a MemoryStore. Let's continue this discussion on #10457.
@kmuehlbauer
There are pydap issues again which I thought to have fixed with #10421. But there are different behaviour for numpy < 2.3.0, numpy = 2.3.0 and numpy >= 2.3.1 and I'm having a hard time to trace the underlying issue.
I will spend some time working on this today (I've been working with huge backlog of stuff and I can finally take a look at it).
Also I do not really get to the bottom of this .astype(str) within the tests. Is this just for comparison or what do we expect back from pydap? If its just to check the strings for equality independent of their encoding, it would make sense then to just test for any |S-type and convert unconditionally (version-wise).
I also do not quite understand the .astype(str) purpose (old code inherited there). I think there has to be something on the pydap end of things that can fix these testing issues as opposed to working on the tests itself.