Skip to content

Commit b245bdd

Browse files
committed
briefly summarize what alignment means
1 parent c129eb1 commit b245bdd

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

doc/user-guide/hierarchical-data.rst

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -657,7 +657,8 @@ Alignment and Coordinate Inheritance
657657
Data Alignment
658658
~~~~~~~~~~~~~~
659659

660-
The data in different datatree nodes are not totally independent. In particular dimensions (and indexes) in child nodes must be aligned (LINK HERE) with those in their parent nodes.
660+
The data in different datatree nodes are not totally independent. In particular dimensions (and indexes) in child nodes must be exactly aligned with those in their parent nodes.
661+
Exact aligment means that shared dimensions must be the same length, and indexes along those dimensions must be equal.
661662

662663
.. note::
663664
If you were a previous user of the prototype `xarray-contrib/datatree <https://github.com/xarray-contrib/datatree>`_ package, this is different from what you're used to!
@@ -819,7 +820,7 @@ grid1 = xr.Coordinates({'lat': lat2, 'lon': lon2})
819820
# model_ds2 = xr.Dataset()
820821
# model_ds3 = xr.Dataset()
821822

822-
We could arrange these in a datatree
823+
We could arrange these in a datatree
823824

824825
.. ipython:: python
825826
@@ -841,7 +842,7 @@ However in this you could also have reprented this without overriding, by using
841842
Non-Inherited Coordinates
842843
~~~~~~~~~~~~~~~~~~~~~~~~~
843844

844-
Only coordinates which are backed by an index are inherited. This is because index-backed coordinates can be efficiently de-duplicated between parents and children, preventing ambiguity
845+
Only coordinates which are backed by an index are inherited. This is because index-backed coordinates can be efficiently de-duplicated between parents and children, preventing ambiguity
845846

846847

847848

0 commit comments

Comments
 (0)