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/3006#issuecomment-505530269,https://api.github.com/repos/pydata/xarray/issues/3006,505530269,MDEyOklzc3VlQ29tbWVudDUwNTUzMDI2OQ==,1828519,2019-06-25T16:53:34Z,2019-06-25T16:53:34Z,CONTRIBUTOR,@shoyer Any idea when there might be another release of xarray where this fix will be included? I'm teaching a tutorial at SciPy this year that is effected by this bug. Learners are starting to prepare for the tutorials and I'd like if they could have this fix before the day of the tutorial.,"{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,453964049
https://github.com/pydata/xarray/pull/3006#issuecomment-500400954,https://api.github.com/repos/pydata/xarray/issues/3006,500400954,MDEyOklzc3VlQ29tbWVudDUwMDQwMDk1NA==,1828519,2019-06-10T12:36:55Z,2019-06-10T12:36:55Z,CONTRIBUTOR,@shoyer Makes sense. Any idea what's up with the travis test? It doesn't look like it is from my changes.,"{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,453964049
https://github.com/pydata/xarray/pull/3006#issuecomment-500264231,https://api.github.com/repos/pydata/xarray/issues/3006,500264231,MDEyOklzc3VlQ29tbWVudDUwMDI2NDIzMQ==,1828519,2019-06-10T01:36:00Z,2019-06-10T01:36:00Z,CONTRIBUTOR,"In my own tests I've been using the following custom scheduler with `dask.config.set(scheduler=CustomScheduler())` to point out what code is computing the array when I don't want it to:
```
class CustomScheduler(object):
""""""Custom dask scheduler that raises an exception if dask is computed too many times.""""""
def __init__(self, max_computes=1):
""""""Set starting and maximum compute counts.""""""
self.max_computes = max_computes
self.total_computes = 0
def __call__(self, dsk, keys, **kwargs):
""""""Compute dask task and keep track of number of times we do so.""""""
import dask
self.total_computes += 1
if self.total_computes > self.max_computes:
raise RuntimeError(""Too many dask computations were scheduled: {}"".format(self.total_computes))
return dask.get(dsk, keys, **kwargs)
```
Does something like this exist in the xarray tests? If not, I could add it then add a dask test to the DataArray tests.","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,453964049