Skip to content
This repository was archived by the owner on Oct 24, 2024. It is now read-only.

Commit effd44e

Browse files
committed
add and correct internal links between docs pages
1 parent 942d855 commit effd44e

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

docs/source/data-structures.rst

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,10 +66,12 @@ The overall structure is technically a `connected acyclic undirected rooted grap
6666
Again these are not normally used unless explicitly accessed by the user.
6767

6868

69+
.. _creating a datatree:
70+
6971
Creating a DataTree
7072
~~~~~~~~~~~~~~~~~~~
7173

72-
There are two ways to create a ``DataTree`` from scratch. The first is to create each node individually,
74+
There are three ways to create a ``DataTree`` from scratch. The first is to create each node individually,
7375
specifying the nodes' relationship to one another as you create each one.
7476

7577
The ``DataTree`` constructor takes:
@@ -144,8 +146,8 @@ we can construct a complex tree quickly using the alternative constructor ``:py:
144146
Notice that this method will also create any intermediate empty node necessary to reach the end of the specified path
145147
(i.e. the node labelled `"c"` in this case.)
146148

147-
Finally if you have a file containing data on disk (such as a netCDF file or a Zarr Store), you can also create a datatree by opening the
148-
file using ``:py:func::~datatree.open_datatree``.
149+
Finally the third way is from a file. if you have a file containing data on disk (such as a netCDF file or a Zarr Store), you can also create a datatree by opening the
150+
file using ``:py:func::~datatree.open_datatree``. See the page on :ref:`reading and writing files <io>` for more details.
149151

150152

151153
DataTree Contents

docs/source/io.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.. _data structures:
1+
.. _io:
22

33
Reading and Writing Files
44
=========================

0 commit comments

Comments
 (0)