Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ activate
# Build artifacts
dist/
build/
docs/_build/
*.egg-info/

tests/test_outputs/
20 changes: 20 additions & 0 deletions docs/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Minimal makefile for Sphinx documentation
#

# You can set these variables from the command line, and also
# from the environment for the first two.
SPHINXOPTS ?= -W
SPHINXBUILD ?= sphinx-build
SOURCEDIR = .
BUILDDIR = _build

# Put it first so that "make" without argument is like "make help".
help:
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)

.PHONY: help Makefile

# Catch-all target: route all unknown targets to Sphinx using the new
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
%: Makefile
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
Empty file added docs/_static/.gitkeep
Empty file.
29 changes: 29 additions & 0 deletions docs/api/generated/neural_lam.config.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
neural\_lam.config
==================

.. automodule:: neural_lam.config


.. rubric:: Functions

.. autosummary::

load_config_and_datastore

.. rubric:: Classes

.. autosummary::

DatastoreSelection
ManualStateFeatureWeighting
NeuralLAMConfig
OutputClamping
TrainingConfig
UniformFeatureWeighting

.. rubric:: Exceptions

.. autosummary::

InvalidConfigError

21 changes: 21 additions & 0 deletions docs/api/generated/neural_lam.create_graph.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
neural\_lam.create\_graph
=========================

.. automodule:: neural_lam.create_graph


.. rubric:: Functions

.. autosummary::

cli
create_graph
create_graph_from_datastore
from_networkx_with_start_index
mk_2d_graph
plot_graph
prepend_node_index
save_edges
save_edges_list
sort_nodes_internally

14 changes: 14 additions & 0 deletions docs/api/generated/neural_lam.datastore.base.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
neural\_lam.datastore.base
==========================

.. automodule:: neural_lam.datastore.base


.. rubric:: Classes

.. autosummary::

BaseDatastore
BaseRegularGridDatastore
CartesianGridShape

12 changes: 12 additions & 0 deletions docs/api/generated/neural_lam.datastore.mdp.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
neural\_lam.datastore.mdp
=========================

.. automodule:: neural_lam.datastore.mdp


.. rubric:: Classes

.. autosummary::

MDPDatastore

Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
neural\_lam.datastore.npyfilesmeps.compute\_standardization\_stats
==================================================================

.. automodule:: neural_lam.datastore.npyfilesmeps.compute_standardization_stats


.. rubric:: Functions

.. autosummary::

cli
get_rank
get_world_size
main
save_stats
setup

.. rubric:: Classes

.. autosummary::

PaddedWeatherDataset

14 changes: 14 additions & 0 deletions docs/api/generated/neural_lam.datastore.npyfilesmeps.config.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
neural\_lam.datastore.npyfilesmeps.config
=========================================

.. automodule:: neural_lam.datastore.npyfilesmeps.config


.. rubric:: Classes

.. autosummary::

Dataset
NpyDatastoreConfig
Projection

15 changes: 15 additions & 0 deletions docs/api/generated/neural_lam.datastore.npyfilesmeps.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
neural\_lam.datastore.npyfilesmeps
==================================

.. automodule:: neural_lam.datastore.npyfilesmeps


.. rubric:: Modules

.. autosummary::
:toctree:
:recursive:

compute_standardization_stats
config
store
12 changes: 12 additions & 0 deletions docs/api/generated/neural_lam.datastore.npyfilesmeps.store.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
neural\_lam.datastore.npyfilesmeps.store
========================================

.. automodule:: neural_lam.datastore.npyfilesmeps.store


.. rubric:: Classes

.. autosummary::

NpyFilesDatastoreMEPS

12 changes: 12 additions & 0 deletions docs/api/generated/neural_lam.datastore.plot_example.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
neural\_lam.datastore.plot\_example
===================================

.. automodule:: neural_lam.datastore.plot_example


.. rubric:: Functions

.. autosummary::

plot_example_from_datastore

22 changes: 22 additions & 0 deletions docs/api/generated/neural_lam.datastore.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
neural\_lam.datastore
=====================

.. automodule:: neural_lam.datastore


.. rubric:: Functions

.. autosummary::

init_datastore

.. rubric:: Modules

.. autosummary::
:toctree:
:recursive:

base
mdp
npyfilesmeps
plot_example
13 changes: 13 additions & 0 deletions docs/api/generated/neural_lam.interaction_net.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
neural\_lam.interaction\_net
============================

.. automodule:: neural_lam.interaction_net


.. rubric:: Classes

.. autosummary::

InteractionNet
SplitMLPs

14 changes: 14 additions & 0 deletions docs/api/generated/neural_lam.loss_weighting.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
neural\_lam.loss\_weighting
===========================

.. automodule:: neural_lam.loss_weighting


.. rubric:: Functions

.. autosummary::

get_manual_state_feature_weights
get_state_feature_weighting
get_uniform_state_feature_weights

19 changes: 19 additions & 0 deletions docs/api/generated/neural_lam.metrics.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
neural\_lam.metrics
===================

.. automodule:: neural_lam.metrics


.. rubric:: Functions

.. autosummary::

crps_gauss
get_metric
mae
mask_and_reduce_metric
mse
nll
wmae
wmse

12 changes: 12 additions & 0 deletions docs/api/generated/neural_lam.models.ar_model.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
neural\_lam.models.ar\_model
============================

.. automodule:: neural_lam.models.ar_model


.. rubric:: Classes

.. autosummary::

ARModel

12 changes: 12 additions & 0 deletions docs/api/generated/neural_lam.models.base_graph_model.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
neural\_lam.models.base\_graph\_model
=====================================

.. automodule:: neural_lam.models.base_graph_model


.. rubric:: Classes

.. autosummary::

BaseGraphModel

12 changes: 12 additions & 0 deletions docs/api/generated/neural_lam.models.base_hi_graph_model.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
neural\_lam.models.base\_hi\_graph\_model
=========================================

.. automodule:: neural_lam.models.base_hi_graph_model


.. rubric:: Classes

.. autosummary::

BaseHiGraphModel

12 changes: 12 additions & 0 deletions docs/api/generated/neural_lam.models.graph_lam.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
neural\_lam.models.graph\_lam
=============================

.. automodule:: neural_lam.models.graph_lam


.. rubric:: Classes

.. autosummary::

GraphLAM

12 changes: 12 additions & 0 deletions docs/api/generated/neural_lam.models.hi_lam.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
neural\_lam.models.hi\_lam
==========================

.. automodule:: neural_lam.models.hi_lam


.. rubric:: Classes

.. autosummary::

HiLAM

12 changes: 12 additions & 0 deletions docs/api/generated/neural_lam.models.hi_lam_parallel.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
neural\_lam.models.hi\_lam\_parallel
====================================

.. automodule:: neural_lam.models.hi_lam_parallel


.. rubric:: Classes

.. autosummary::

HiLAMParallel

18 changes: 18 additions & 0 deletions docs/api/generated/neural_lam.models.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
neural\_lam.models
==================

.. automodule:: neural_lam.models


.. rubric:: Modules

.. autosummary::
:toctree:
:recursive:

ar_model
base_graph_model
base_hi_graph_model
graph_lam
hi_lam
hi_lam_parallel
12 changes: 12 additions & 0 deletions docs/api/generated/neural_lam.train_model.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
neural\_lam.train\_model
========================

.. automodule:: neural_lam.train_model


.. rubric:: Functions

.. autosummary::

main

Loading