html_url,issue_url,id,node_id,user,created_at,updated_at,author_association,body,reactions,performed_via_github_app,issue https://github.com/pydata/xarray/pull/3847#issuecomment-634868914,https://api.github.com/repos/pydata/xarray/issues/3847,634868914,MDEyOklzc3VlQ29tbWVudDYzNDg2ODkxNA==,1217238,2020-05-27T18:50:12Z,2020-05-27T18:50:12Z,MEMBER,"> I'm confused, I thought that `xr.testing.assert_allclose` explicitly supported duck arrays (it calls `duck_array_ops.allclose_or_equiv`). Right, it explicitly supports duck arrays -- by always converting them into NumPy!","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,577425749 https://github.com/pydata/xarray/pull/3847#issuecomment-634855041,https://api.github.com/repos/pydata/xarray/issues/3847,634855041,MDEyOklzc3VlQ29tbWVudDYzNDg1NTA0MQ==,1217238,2020-05-27T18:25:40Z,2020-05-27T18:25:40Z,MEMBER,"> So it seems that `assert_allclose` never worked with `dask` but always converted to `numpy`. Would it make sense to investigate further, or is it better to just wait until we can merge this? This was intentional, I think. `np.testing.assert_allclose()` doesn't support dispatching -- it always converts into NumPy arrays. I'm not sure that `assert_allclose` would even be well defined on dask arrays otherwise, because it doesn't have any output (it only raises an error).","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,577425749 https://github.com/pydata/xarray/pull/3847#issuecomment-628083718,https://api.github.com/repos/pydata/xarray/issues/3847,628083718,MDEyOklzc3VlQ29tbWVudDYyODA4MzcxOA==,1217238,2020-05-13T15:55:52Z,2020-05-13T15:55:52Z,MEMBER,"It looks like there might be some sort of issue with dask's numpy compatibility layer? e.g., in np.allclose? These fallbacks are catching quite a few errors.... One idea would be to try plumbing this logic into `np.testing.assert_allclose` (which doesn't do dispatching) rather than `np.allclose`. The former comes pre-packaged with better error messages, which might be handy.","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,577425749