Control: reopen -1

Hi,

On Fri, 12 Aug 2022 11:33:53 +0000 Debian FTP Masters <ftpmas...@ftp-master.debian.org> wrote:
 python-xarray (2022.06.0-3) unstable; urgency=medium
 .
   * Depend on scipy >= 1.8.1-8 for fixes. Closes: #1004869, #1013939

But the log [1] that was generated by the migration trial run has the output below and the runs in unstable fail too (so no missing *versioned* items).

=================================== FAILURES =================================== ___________________ test_weighted_operations_nonequal_coords ___________________

    def test_weighted_operations_nonequal_coords():
        # There are no weights for a == 4, so that data point is ignored.
weights = DataArray(np.random.randn(4), dims=("a",), coords=dict(a=[0, 1, 2, 3])) data = DataArray(np.random.randn(4), dims=("a",), coords=dict(a=[1, 2, 3, 4]))
        check_weighted_operations(data, weights, dim="a", skipna=None)

        q = 0.5
        result = data.weighted(weights).quantile(q, dim="a")
# Expected value computed using code from https://aakinshin.net/posts/weighted-quantiles/ with values at a=1,2,3 expected = DataArray([0.9308707], coords={"quantile": [q]}).squeeze()
>       assert_allclose(result, expected)
E       AssertionError: Left and right DataArray objects are not close
E
E       Differing values:
E       L
E           array(0.058928)
E       R
E           array(0.930871)

Paul

[1] https://ci.debian.net/data/autopkgtest/testing/amd64/p/python-xarray/24742527/log.gz

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

Reply via email to