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/2245#issuecomment-406959556,https://api.github.com/repos/pydata/xarray/issues/2245,406959556,MDEyOklzc3VlQ29tbWVudDQwNjk1OTU1Ng==,2448579,2018-07-23T07:01:07Z,2018-07-23T07:01:28Z,MEMBER,"This is because `priority_arg=1` in https://github.com/pydata/xarray/blob/b8a342ae845a7d734d391c4b597ee689ed9c6a72/xarray/core/merge.py#L579
So the old co-ordinate (with attrs) is replaced by the new co-ordinate (without attrs).
Example: `ds['b'] = xr.DataArray(np.arange(10), dims='y')` in the above creates a new dimension `y` with no attrs that is given priority when merging. This seems like intended behaviour because changing `priority_arg` to 0 makes a lot of tests fail.","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,334833619
https://github.com/pydata/xarray/issues/2245#issuecomment-403934444,https://api.github.com/repos/pydata/xarray/issues/2245,403934444,MDEyOklzc3VlQ29tbWVudDQwMzkzNDQ0NA==,1217238,2018-07-10T19:11:12Z,2018-07-10T19:11:12Z,MEMBER,"This looks like the same issue as https://github.com/pydata/xarray/issues/2276.
I agree that this is probably a bug. This might be related to a recent internal refactor of `Dataset.__setitem__` in https://github.com/pydata/xarray/pull/2162 (see the changes in `xarray/core/merge.py`)","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,334833619