Skip to content

show dimension coordinates at top of coordinates repr #4515

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
dcherian opened this issue Oct 15, 2020 · 1 comment
Closed

show dimension coordinates at top of coordinates repr #4515

dcherian opened this issue Oct 15, 2020 · 1 comment

Comments

@dcherian
Copy link
Contributor

Is your feature request related to a problem? Please describe.
I have datasets with lots of non-dim coord variables. Its annoying to search through and look at the dimension coordinates to get an idea of what subset of data I am looking at.
image

Describe the solution you'd like
I think we should show dimension coordinate variables at the top of the coordinates repr.

Example code

ds = xr.Dataset()
ds.coords["as"] = 10
ds["var"] = xr.DataArray(np.ones((10,)), dims="x", coords={"x": np.arange(10)})
ds

image

Related #4409

@dcherian
Copy link
Contributor Author

dcherian commented Nov 6, 2020

Closing as dupe of #712

@dcherian dcherian closed this as completed Nov 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant