Skip to content

Instantly share code, notes, and snippets.

@pukpr
Created May 19, 2025 16:57
Show Gist options
  • Save pukpr/2a277606bdf7fb4648f39ea3e7f32b95 to your computer and use it in GitHub Desktop.
Save pukpr/2a277606bdf7fb4648f39ea3e7f32b95 to your computer and use it in GitHub Desktop.
GraphViz dot rep of LTE models
digraph G {
rankdir="LR"
subgraph cluster_0 {
style=filled;
color=antiquewhite;
node [style=filled]; # ,color=lightgray];
ChandlerWobble; QBO; SAO; Seasons; AnnualWobble
label = "Draconic/nodal wavenumber=0 symmetry";
}
subgraph cluster_1 {
style=filled;
color=LightCyan;
node [style=filled];
ENSO; LOD; AAM; Tides, AMO, PDO, IOD, NAO, SLH
label = "wavenumber>0";
# color=blue
}
subgraph cluster_2 {
node [style=filled];
MJO
label = "traveling wave";
color=blue
}
Moon -> QBO [xlabel="atmospheric"];
Moon -> ChandlerWobble [xlabel="solid"];
Moon -> ENSO [label="Eq Pacific"];
Moon -> LOD [label="irregular", headlabel="solid "];
Moon -> AMO [label="Atlantic"];
Moon -> PDO [label="Pacific"];
Moon -> IOD [label="Indian"];
Moon -> NAO [label="N Atlantic"];
ENSO -> AAM [label="oceanic forcing"];
ENSO -> MJO [headlabel="atmospheric "];
ENSO -> SLH [label="long period"];
Tides -> SLH [label="short period"];
LOD -> AAM [dir=both, label="atmospheric\ncomponent"];
Moon -> Tides [label="localized"];
Sun -> SAO [label="atmospheric"];
Sun -> Seasons [label="latitudinal"];
Sun -> AnnualWobble [label="solid"];
Moon [label="Moon\n(+Sun)", fillcolor="white:gray", style=radial, gradientangle=0, color=gray];
Sun [label="Sun\n(only)", fillcolor="white:orange", style=radial, gradientangle=0, color=yellow];
Tides [color=lightskyblue]
LOD [color=lightskyblue]
Seasons [color=lightskyblue]
AnnualWobble [color=lightskyblue]
SAO [color=lightskyblue]
}
@pukpr
Copy link
Author

pukpr commented May 19, 2025

digraph G {
rankdir="TD"
node [shape="circle", style="filled", fillcolor=black,fontcolor=white]; time, f, ENSO, AMO, PDO;
node [shape="square", fillcolor=white,fontcolor=black, fontname="Arial Narrow"];
edge [arrowsize=0.15];

Le1 [label=<Le1>];
Le2 [label=<Le2>];
Le3 [label="..."];
Len [label=<Len>];

La1 [label=<La1>];
La2 [label=<La2>];
La3 [label="..."];
Lan [label=<Lan>];

Lp1 [label=<Lp1>];
Lp2 [label=<Lp2>];
Lp3 [label="..."];
Lpn [label=<Lpn>];

time -> "sin(Mf)" -> f;
time -> "sin(Mm)" -> f;
time -> "sin(Mf')" -> f;
time -> "sin(Sa)" -> f;
time -> "sin(Ssa)" -> f;
time -> "sin(...)" -> f;

f -> Le1 -> ENSO;
f -> Le2 -> ENSO;
f -> Le3 -> ENSO;
f -> Len -> ENSO;

f -> La1 -> AMO;
f -> La2 -> AMO;
f -> La3 -> AMO;
f -> Lan -> AMO;

f -> Lp1 -> PDO;
f -> Lp2 -> PDO;
f -> Lp3 -> PDO;
f -> Lpn -> PDO;

}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment