How maximilianfricke/baltic-sea-forecasting works
Neural-LAM is a graph-neural-network weather forecasting toolkit for limited-area modeling, with deterministic and probabilistic models, hierarchical forecasting, and a GraphCast reimplementation. The main workflow is to configure data and a compatible graph, train or evaluate a selected model, and produce forecasts and metrics. Datastores and graph construction are modular; graph viewing and model-weight analysis provide a separate inspection capability. The map follows README statements and sampled references; edges are limited to relationships shown in those sources.
Main entry points: train_model.py Train and evaluate · create_graph.py Regional graph builder · base.py Datastore interface · create_global_graph.py Global graph builder
Components 22
Weather data
- Datastore interface
neural_lam/datastore/base.py - MDP datastore
neural_lam/datastore/mdp.py - Weather samples
neural_lam/weather_dataset.py
Graph structures
- Regional graph builder
neural_lam/create_graph.py - Global graph builder
neural_lam/create_global_graph.py - Auxiliary graph builder
neural_lam/create_auxiliary_graph.py - Mesh generators
neural_lam/graphs - Graph save and load
neural_lam/graphs/saving.py - Graph features
neural_lam/graphs/utils.py
Forecast models
- Autoregressive model
neural_lam/models/ar_model.py - Probabilistic model
neural_lam/models/ar_prob_model.py - Graph-EFM
neural_lam/models/graph_efm.py - Graph diffusion
neural_lam/models/graph_diff.py - Interaction network
neural_lam/interaction_net.py
Training and evaluation
- Model configuration
neural_lam/config.py - Train and evaluate
neural_lam/train_model.py - Forecast metrics
neural_lam/metrics.py - Forecast visualization
neural_lam/vis.py
Graph inspection
- Graph viewer
neural_lam/graph_viewer/viewer.py - Graph costs
neural_lam/graph_viewer/costs.py - Measure model weights
neural_lam/graph_viewer/measure_weights.py
Other components
- Weather researcher
Connections 24
- Weather researcher → Model configuration: configures
neural_lam/config.py - Model configuration → MDP datastore: initializes
neural_lam/config.py - MDP datastore → Datastore interface: implements
neural_lam/datastore/mdp.py - Weather samples → Datastore interface: reads
neural_lam/weather_dataset.py - Weather researcher → Train and evaluate: runs
neural_lam/train_model.py - Train and evaluate → Model configuration: loads
neural_lam/train_model.py - Train and evaluate → Weather samples: uses
neural_lam/train_model.py - Train and evaluate → Autoregressive model: selects
neural_lam/train_model.py - Autoregressive model → Probabilistic model: extends
neural_lam/models/ar_prob_model.py - Graph-EFM → Probabilistic model: extends
neural_lam/models/graph_efm.py - Graph diffusion → Autoregressive model: uses
neural_lam/models/graph_diff.py - Graph diffusion → Interaction network: uses
neural_lam/models/graph_diff.py - Train and evaluate → Forecast metrics: evaluates with
neural_lam/train_model.py - Train and evaluate → Forecast visualization: uses
neural_lam/train_model.py - Regional graph builder → Datastore interface: reads grid
neural_lam/create_graph.py - Regional graph builder → Mesh generators: builds with
neural_lam/create_graph.py - Regional graph builder → Graph save and load: saves
neural_lam/create_graph.py - Regional graph builder → Graph features: uses
neural_lam/create_graph.py - Global graph builder → Datastore interface: reads grid
neural_lam/create_global_graph.py - Global graph builder → Graph save and load: saves
neural_lam/create_global_graph.py - Global graph builder → Graph features: uses
neural_lam/create_global_graph.py - Graph viewer → Graph costs: uses
neural_lam/graph_viewer/viewer.py - Measure model weights → Graph costs: uses
neural_lam/graph_viewer/measure_weights.py - Measure model weights → Train and evaluate: loads model
neural_lam/graph_viewer/measure_weights.py