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/2368#issuecomment-1382671908,https://api.github.com/repos/pydata/xarray/issues/2368,1382671908,IC_kwDOAMm_X85SaeYk,35968931,2023-01-14T06:10:39Z,2023-01-14T06:10:39Z,MEMBER,"@ronygolderku thanks for your example. Looks like it fails for the [same reason as was mentioned](https://github.com/pydata/xarray/issues/2368#issuecomment-1006639506) for some of the other examples above.
","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,350899839
https://github.com/pydata/xarray/issues/2368#issuecomment-1005916151,https://api.github.com/repos/pydata/xarray/issues/2368,1005916151,IC_kwDOAMm_X8479Q_3,35968931,2022-01-05T17:14:35Z,2022-01-05T17:14:35Z,MEMBER,"> Currently, xarray requires that variables with a name matching a dimension are 1D variables along that dimension, e.g.,
```python
for dim in dataset.dims:
if dim in dataset.variables:
assert dataset.variables[dim].dims == (dim,)
```
> I agree that this unnecessarily complicates our data model. There's no particular advantage to this invariant, besides removing the need to check the dimensions of variables used for indexing lookups. I'm sure there are some cases internally where we currently rely on this assumption, but it should be relatively easy to relax.
> It seems like this relaxation is compatible with the refactoring of indexes.
@benbovy will the explicit indexes refactor fix this case?
> This is mentioned elsewhere (can't find the issue right now) and may be out of scope for this issue but I'm going to say it anyway: opening a NetCDF file with groups was not as easy as I wanted it to be when first starting out with xarray.
@djhoese For anything to do with opening netCDF files with groups see #4118 and the linked issues from there.
If people have example of other weird cases involving groups (like groups within themselves or anything like that) then I would be interested to have those files to test with!
","{""total_count"": 2, ""+1"": 2, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,350899839