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/1179#issuecomment-270427441,https://api.github.com/repos/pydata/xarray/issues/1179,270427441,MDEyOklzc3VlQ29tbWVudDI3MDQyNzQ0MQ==,1217238,2017-01-04T17:12:58Z,2017-01-04T17:12:58Z,MEMBER,In it goes. We're using `conda-forge` for all Travis-CI builds now.,"{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,197083082
https://github.com/pydata/xarray/pull/1179#issuecomment-270289632,https://api.github.com/repos/pydata/xarray/issues/1179,270289632,MDEyOklzc3VlQ29tbWVudDI3MDI4OTYzMg==,306380,2017-01-04T03:53:58Z,2017-01-04T03:53:58Z,MEMBER,It's up now on conda-forge if you're interested in switching over.,"{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,197083082
https://github.com/pydata/xarray/pull/1179#issuecomment-270289244,https://api.github.com/repos/pydata/xarray/issues/1179,270289244,MDEyOklzc3VlQ29tbWVudDI3MDI4OTI0NA==,1217238,2017-01-04T03:49:17Z,2017-01-04T03:49:17Z,MEMBER,Hmm. It looks like we need dask 0.13 in conda to make the distributed integration pass.,"{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,197083082
https://github.com/pydata/xarray/pull/1179#issuecomment-270194818,https://api.github.com/repos/pydata/xarray/issues/1179,270194818,MDEyOklzc3VlQ29tbWVudDI3MDE5NDgxOA==,1217238,2017-01-03T19:03:22Z,2017-01-03T19:03:22Z,MEMBER,I will update the xarray/dask-distributed integration and submit this later today. @rabernat it should solve your issues with `to_netcdf`.,"{""total_count"": 1, ""+1"": 1, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,197083082
https://github.com/pydata/xarray/pull/1179#issuecomment-270194206,https://api.github.com/repos/pydata/xarray/issues/1179,270194206,MDEyOklzc3VlQ29tbWVudDI3MDE5NDIwNg==,306380,2017-01-03T19:00:53Z,2017-01-03T19:00:53Z,MEMBER,Dask 0.13.0 has been released,"{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,197083082
https://github.com/pydata/xarray/pull/1179#issuecomment-270193755,https://api.github.com/repos/pydata/xarray/issues/1179,270193755,MDEyOklzc3VlQ29tbWVudDI3MDE5Mzc1NQ==,1197350,2017-01-03T18:59:10Z,2017-01-03T18:59:10Z,MEMBER,"> Is there a clear fail case we can use as a test to demonstrate the value here?
I have found a fail case related to distributed: attempting to use `to_netcdf()` with a dask.distributed client fails because the `threading.Lock()` can't be serialized. A `SerializableLock` would overcome this problem.
Consider this example:
```python
import dask.array as da
from distributed import Client
import xarray as xr
def create_and_store_dataset():
shape = (10000, 1000)
chunks = (1000, 1000)
data = da.zeros(shape, chunks=chunks)
ds = xr.DataArray(data).to_dataset()
ds.to_netcdf('test_dataset.nc')
print(""Success!"")
create_and_store_dataset()
client = Client()
create_and_store_dataset()
```
The first call succeeds, while the second fails with `TypeError: can't pickle thread.lock objects`.
When using the distributed client, I can successfully call `.store` on the underlying dask array if I pass `lock=SerializableLock()`.
","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,197083082
https://github.com/pydata/xarray/pull/1179#issuecomment-268940513,https://api.github.com/repos/pydata/xarray/issues/1179,268940513,MDEyOklzc3VlQ29tbWVudDI2ODk0MDUxMw==,1217238,2016-12-23T04:51:52Z,2016-12-23T04:51:52Z,MEMBER,"@mrocklin We could update our dask-distributed integration tests to avoid `lock=False`, but that will need to wait until the next dask release for tests to pass on CI.","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,197083082
https://github.com/pydata/xarray/pull/1179#issuecomment-268710453,https://api.github.com/repos/pydata/xarray/issues/1179,268710453,MDEyOklzc3VlQ29tbWVudDI2ODcxMDQ1Mw==,306380,2016-12-22T03:35:56Z,2016-12-22T03:35:56Z,MEMBER,Is there a clear fail case we can use as a test to demonstrate the value here?,"{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,197083082