Skip to content
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

Fix DataTree repr to not repeat inherited coordinates #9532

Merged
merged 2 commits into from
Sep 22, 2024

Conversation

shoyer
Copy link
Member

@shoyer shoyer commented Sep 22, 2024

@shoyer shoyer requested a review from TomNicholas September 22, 2024 20:41
@TomNicholas TomNicholas added the topic-DataTree Related to the implementation of a DataTree class label Sep 22, 2024
@shoyer shoyer merged commit ab84e04 into pydata:main Sep 22, 2024
34 checks passed
@shoyer shoyer deleted the repr-inherited-coords branch September 22, 2024 22:56
TomNicholas added a commit to TomNicholas/xarray that referenced this pull request Sep 23, 2024
hollymandel pushed a commit to hollymandel/xarray that referenced this pull request Sep 23, 2024
* Fix DataTree repr to not repeat inherited coordinates

Fixes GH9499

* skip failing test on Windows
TomNicholas added a commit that referenced this pull request Oct 13, 2024
* remove too-long underline

* draft section on data alignment

* fixes

* draft section on coordinate inheritance

* various improvements

* more improvements

* link from other page

* align call include all 3 datasets

* link back to use cases

* clarification

* small improvements

* remove TODO after #9532

* add todo about #9475

* correct xr.align example call

* add links to netCDF4 documentation

* Consistent voice

Co-authored-by: Maximilian Roos <[email protected]>

* keep indexes in lat lon selection to dodge #9475

* unpack generator properly

Co-authored-by: Stephan Hoyer <[email protected]>

* ideas for next section

* briefly summarize what alignment means

* clarify that it's the data in each node that was previously unrelated

* fix incorrect indentation of code block

* display the tree with redundant coordinates again

* remove content about non-inherited coords for a follow-up PR

* remove todo

* remove todo now that aggregations are re-implemented

* remove link to (unmerged) migration guide

* remove todo about improving error message

* correct statement in data-structures docs

* fix internal link

---------

Co-authored-by: Maximilian Roos <[email protected]>
Co-authored-by: Stephan Hoyer <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic-DataTree Related to the implementation of a DataTree class
Projects
None yet
Development

Successfully merging this pull request may close these issues.

DataTree repr showing inherited coordinates as non-inherited
2 participants