Skip to content

show dimension coordinates at top of coordinates repr #4515

Closed
@dcherian

Description

@dcherian

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions