id,node_id,number,title,user,state,locked,assignee,milestone,comments,created_at,updated_at,closed_at,author_association,active_lock_reason,draft,pull_request,body,reactions,performed_via_github_app,state_reason,repo,type 1806239984,PR_kwDOAMm_X85Vl5Ch,7989,Allow opening datasets with nD dimenson coordinate variables.,2448579,closed,0,,,5,2023-07-15T17:33:18Z,2023-07-19T19:06:25Z,2023-07-19T18:25:33Z,MEMBER,,0,pydata/xarray/pulls/7989," - [x] Closes #2233 - [x] Tests added - [x] User visible changes (including notable bug fixes) are documented in `whats-new.rst` Avoid automatic creating of Index variable when nD variable shares name with one of its dimensions. Closes #2233 ```python url = ""http://www.smast.umassd.edu:8080/thredds/dodsC/FVCOM/NECOFS/Forecasts/NECOFS_GOM3_FORECAST.nc"" ds = xr.open_dataset(url, engine=""netcdf4"") display(ds) xr.testing._assert_internal_invariants(ds, check_default_indexes=False) ! no raise on #7368 ``` ~The internal invariants assert fails on `main` but succeeds on #7368~. EDIT: now fixed the invariants check. ","{""url"": ""https://api.github.com/repos/pydata/xarray/issues/7989/reactions"", ""total_count"": 2, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 1, ""rocket"": 1, ""eyes"": 0}",,,13221727,pull