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/4338#issuecomment-673147952,https://api.github.com/repos/pydata/xarray/issues/4338,673147952,MDEyOklzc3VlQ29tbWVudDY3MzE0Nzk1Mg==,2448579,2020-08-12T22:50:33Z,2020-08-12T22:50:33Z,MEMBER,no worries. I'll close this as a duplicate.,"{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,677773328
https://github.com/pydata/xarray/issues/4338#issuecomment-672959944,https://api.github.com/repos/pydata/xarray/issues/4338,672959944,MDEyOklzc3VlQ29tbWVudDY3Mjk1OTk0NA==,2448579,2020-08-12T15:55:24Z,2020-08-12T15:55:24Z,MEMBER,"Thanks for the well written issue @nicholaskgeorge
This is a duplicate of https://github.com/pydata/xarray/issues/3248 . The solution here is to make all tiles have the same name, use `.to_dataset()` and then pass that to `combine_by_coords`
```
In [9]: square1 = xr.DataArray(name=""box"", data=np.random.randint(5, size=(3, 2)), coords=[(""x"", [0,1,2]),('y',[0,1])])
...: square2 = xr.DataArray(name=""box"", data=np.random.randint(5, size=(3, 2)), coords=[(""x"", [2,3,4]),('y',[0,1])])
...: square3 = xr.DataArray(name=""box"", data=np.random.randint(5, size=(3, 2)), coords=[(""x"", [0,1,2]),('y',[2,3])])
...: square4 = xr.DataArray(name=""box"", data=np.random.randint(5, size=(3, 2)), coords=[(""x"", [2,3,4]),('y',[2,3])])
...:
...: combineddata = xr.combine_by_coords(sq.to_dataset() for sq in [square1,square2,square3,square4])
```
You can use `combineddata.to_array()` to convert back to a DataArray.","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,677773328