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/3675#issuecomment-572506873,https://api.github.com/repos/pydata/xarray/issues/3675,572506873,MDEyOklzc3VlQ29tbWVudDU3MjUwNjg3Mw==,6815844,2020-01-09T10:51:40Z,2020-01-09T10:51:40Z,MEMBER,"Hi @sfinkens. Thank you for raising an issue.
I think what you actually want would be
```python
In [16]: ds = xr.Dataset({'data': ('x', [1, 2]),
...: 'x': ('x', [1, 2])
...: }, coords={'x_bnds': (('x', 'bnds'), [[0.5, 1.5], [1.5,
...: 2.5]])})
...: ds['x'].attrs['bounds'] = 'x_bnds'
...: ds = ds.expand_dims({'time': [0]})
In [17]: ds
Out[17]:
Dimensions: (bnds: 2, time: 1, x: 2)
Coordinates:
* time (time) int64 0
* x (x) int64 1 2
x_bnds (x, bnds) float64 0.5 1.5 1.5 2.5
Dimensions without coordinates: bnds
Data variables:
data (time, x) int64 1 2
```
where `x_bnds` would be a coordinate rather than a data variable.","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,547373923