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/5240#issuecomment-830713676,https://api.github.com/repos/pydata/xarray/issues/5240,830713676,MDEyOklzc3VlQ29tbWVudDgzMDcxMzY3Ng==,5635139,2021-05-02T00:15:43Z,2021-05-02T00:15:43Z,MEMBER,"Agree that this should coerce to the name of the dim if the array has no name.

Technically should the kwarg of `concat` be `coord` rather than `dim`? I generally supply dim names there, rather than coords vars. (though I'm not suggesting we actually change it given the backward-compat).

Note that we already do this in the DataArray constructor:

```python

In [12]: a = xr.DataArray([0,1], coords=[xr.DataArray([1,2])], dims='b')   # No name on the coord

In [13]: a
Out[13]:
<xarray.DataArray (b: 2)>
array([0, 1])
Coordinates:
  * b        (b) int64 1 2    # Yes name on the coord
```","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,873713013