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/1410#issuecomment-302155985,https://api.github.com/repos/pydata/xarray/issues/1410,302155985,MDEyOklzc3VlQ29tbWVudDMwMjE1NTk4NQ==,1217238,2017-05-17T17:05:31Z,2017-05-17T17:05:31Z,MEMBER,"Yes, this is definitely a bug.","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,228872889 https://github.com/pydata/xarray/issues/1410#issuecomment-301696656,https://api.github.com/repos/pydata/xarray/issues/1410,301696656,MDEyOklzc3VlQ29tbWVudDMwMTY5NjY1Ng==,10050469,2017-05-16T07:16:47Z,2017-05-16T07:16:47Z,MEMBER,"Note that this works with a Dataset: ```python import xarray as xr dar = xr.Dataset({'x':[1, 2, 3]}) output = dar.to_netcdf() assert isinstance(output, bytes) ``` I see no reason why this shouldn't work with DataArrays, so I guess this is a bug.","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,228872889