Skip to content

Commit

Permalink
docs: include creator and inspector to modules
Browse files Browse the repository at this point in the history
  • Loading branch information
JPXKQX committed Aug 21, 2024
1 parent bf38fe3 commit d68bbf1
Show file tree
Hide file tree
Showing 5 changed files with 37 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/graphs/node_attributes.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.. _node-attributes:
.. _graphs-node_attributes:

####################
Nodes - Attributes
Expand Down
2 changes: 1 addition & 1 deletion docs/graphs/node_coordinates.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.. _node-coordinates:
.. _graphs-node_coordinates:

#####################
Nodes - Coordinates
Expand Down
4 changes: 4 additions & 0 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ of the *Anemoi* packages.
- :doc:`modules/edge_builder`
- :doc:`modules/node_attributes`
- :doc:`modules/edge_attributes`
- :doc:`modules/graph_creator`
- :doc:`modules/graph_inspector`

.. toctree::
:maxdepth: 1
Expand All @@ -69,6 +71,8 @@ of the *Anemoi* packages.
modules/edge_builder
modules/node_attributes
modules/edge_attributes
modules/graph_creator
modules/graph_inspector

*******************
Command line tool
Expand Down
14 changes: 14 additions & 0 deletions docs/modules/graph_creator.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
.. _modules-graph_creator:

###############
Graph Creator
###############

This module is used to create custom graphs for data-driven weather
models. The graphs are built using a `recipe` that defines the structure
of the graph.

.. automodule:: anemoi.graphs.create
:members:
:no-undoc-members:
:show-inheritance:
17 changes: 17 additions & 0 deletions docs/modules/graph_inspector.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
.. _modules-graph_inspector:

#################
Graph Inspector
#################

This module is used to inspect graphs. This inspection includes:

- Distribution plots of node & edge attributes.
- Interactive plot of each subgraph.
- Interactive plot of isolated nodes.
- Description of the graph in the console.

.. automodule:: anemoi.graphs.create
:members:
:no-undoc-members:
:show-inheritance:

0 comments on commit d68bbf1

Please sign in to comment.