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/issues/1981#issuecomment-373802503,https://api.github.com/repos/pydata/xarray/issues/1981,373802503,MDEyOklzc3VlQ29tbWVudDM3MzgwMjUwMw==,2443309,2018-03-16T18:21:20Z,2018-03-16T18:21:20Z,MEMBER,@jmunroe - this is good to know. Have you been using the default scheduler (multiprocessing for dask.bag) or the distributed scheduler?,"{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,304201107 https://github.com/pydata/xarray/issues/1981#issuecomment-372316094,https://api.github.com/repos/pydata/xarray/issues/1981,372316094,MDEyOklzc3VlQ29tbWVudDM3MjMxNjA5NA==,2443309,2018-03-12T13:51:07Z,2018-03-12T13:51:07Z,MEMBER,@shoyer - we can sidestep the global HDF lock if we use multiprocessing (or the distributed scheduler as you mentioned) and the `autoclose` option. This is the approach I took during my initial tests. It would be great if we could use the threading library too but that does seem less applicable given the current state of the HDF library. ,"{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,304201107