issues: 260569191
This data as json
| id | node_id | number | title | user | state | locked | assignee | milestone | comments | created_at | updated_at | closed_at | author_association | active_lock_reason | draft | pull_request | body | reactions | performed_via_github_app | state_reason | repo | type |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 260569191 | MDU6SXNzdWUyNjA1NjkxOTE= | 1592 | groupby() fails with a stack trace when Dask 0.15.3 is used | 9655353 | closed | 0 | 2 | 2017-09-26T10:15:46Z | 2017-10-04T21:42:52Z | 2017-10-04T21:42:52Z | NONE | Hi xarray team! Our unit tests broke when Dask got updated to 0.15.3, after a quick investigation it became clear that groupby operation on an xarray Dataset fails with this Dask version. The following example: ```python import xarray as xr import numpy as np import dask def plus_one(da): return da + 1 print(xr.version) print(dask.version) ds = xr.Dataset({ 'first': (['time', 'lat', 'lon'], np.array([np.eye(4, 8), np.eye(4, 8)])), 'second': (['time', 'lat', 'lon'], np.array([np.eye(4, 8), np.eye(4, 8)])), 'lat': np.linspace(-67.5, 67.5, 4), 'lon': np.linspace(-157.5, 157.5, 8), 'time': np.array([1, 2])}).chunk(chunks={'lat': 2, 'lon': 4}) ds_new = ds.groupby('time').apply(plus_one)
I don't have enough understanding regarding what's really going on in Dask-land, so I leave it to you guys to open an issue in their Issue tracker if needed! |
{
"url": "https://api.github.com/repos/pydata/xarray/issues/1592/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} |
completed | 13221727 | issue |