Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Five lenses on the stack

GeoStack · design note · 1 December 2026

Abstract

Five lenses read the same stack: the data levels say what a dataset is, numerical methods how to compute on it, mathematical modelling how a model is built and improved, scientific ML how to learn parts of it, and data engineering how all of it runs at scale. Each lens has its own page; this one maps them and gives the order to read them in. The five applications the stack exists for have pages of their own. In every lens each step is coloured by the shelf it lands on, the colours fall in the same order, and that order is the seam the layers follow.

describemathax
fitinferax, pyrox
physicsGeoNumerics
dataGeoStack (geotoolz)
assembleGeoModels
orchestratepipekit
dashed, numbered: off the shelf the lens expects, or no library yet
Dhanded to the data-engineering lens
Phas a probabilistic-numerics counterpart

Reading path

The lenses are not independent: each one leans on the ones before it. Read in this order, every page uses ideas an earlier page has already set up, with three exceptions marked below.

0Whythe problems the stack exists for
1Data levelswhat the data islooks ahead to 5
2Numerical methodshow to compute on itlooks ahead to 5
3Mathematical modellinghow a model is built and improvedlooks ahead to 4
4Scientific MLhow to learn parts of a model
5Data engineeringhow all of it runs at scale
Applications and GeoBenchwhere the lenses meet

Read top to bottom. Each stop is coloured by the shelf its lens lands on, as on the cards above; the tags mark the three places a page looks ahead, listed below the table.

StopQuestion it answersStart withThenYou can now
0 · WhyWhat problems is this for, and why are they hard?What the stack is forthe application stacksay what a methane plume, an ocean state or a heat extreme asks of the data, without any method
1 · Data levelsHow far has a dataset come from the instrument?Data levelsProcessing levelsplace any dataset on L0–L5 and name the operator on each arrow
2 · Numerical methodsHow do we compute on a field?Numerical methodsread a forward model as primitives, then run it backwards
3 · Mathematical modellingHow does a model improve?Mathematical modellingThe modeling cycle, then its three examples: retrieval, quantification, persistencytell a random misfit from a systematic one, and say which loop it sends you round
4 · Scientific MLWhich parts of a model can be learned, and how do we check them?Scientific MLplace an emulator, an amortised estimator or a learned closure in the six-step cycle
5 · Data engineeringHow does any of this run on real archives?Data engineeringdata structures (carrier arrays, carrier trees, to come); code organisation (role ladder, rung by rung and roles to come); storage (object storage, formats, databases and catalogs, versions); compute (pipeline, parallelism, backends)take a method from a notebook to a versioned product someone else can find
ThenWhere do the lenses meet?Application stack and its five applicationsGeoBenchread an application, or a benchmark card, as a path through all five lenses

Why this order:

Three places look ahead, and that is deliberate:

  1. Part 2 of Processing levels shows the engineering under every level. Read it as a preview; stop 5 covers each piece.

  2. The modeling cycle’s emulator steps name tools that scientific ML builds.

  3. Numerical methods names the carriers (DimArray, CField, GeoArray) that stop 5 defines.

Shortcuts: an engineer can read stop 0, then 1, then 5. A scientist can stop after 4 and come back to 5 when the method has to scale.

Trivium: what the lenses ask

The medieval arts of language as a map of the lenses, not a set of new names: grammar names things, logic reasons from them, rhetoric convinces someone else. The cards above carry the art each lens serves. Its other half, the quadrivium, maps the numerical-methods chapters and lives on that page.

Trivium · the arts of language
Grammarnaming, so nothing is misreaddata levels · data engineering · carriers · notation
Logicwhat follows from whatnumerical methods · scientific ML · modelling cycle
Rhetoricconvincing someone elseevaluation · decisions · publishing · mostly gaps

Read top to bottom, as the curriculum was taught. Rhetoric is dashed because it is mostly gaps.

ArtAsksHereState
GrammarWhat is this, and where?data levels, carriers, data engineering; the notation standardstrong every value carries its level, grid and stagger
LogicWhat follows from it?numerical methods, scientific ML, mathematical modellingstrong forward models, inference, the six-step cycle
RhetoricWhy should anyone believe it?evaluation and benchmarks, decisions, publishing; the applicationsthin evaluation is split (scientific-ML note 3), decisions have no home (scientific-ML note 5), commit and publish are proposals (data engineering, steps 9 and 10)

Across the lenses

The colours fall in the same order in every method lens: describe, fit, physics, assemble, orchestrate, with data entering from GeoStack. Under the three method lenses, nothing in GeoNumerics, GeoStack or GeoModels sits on the wrong shelf. Each page numbers its own notes. Numerical methods has two, both gaps (finite elements, probabilistic numerics), and marks smaller gaps on its rows. Scientific ML has seven: four on how the Core repos split, and three gaps (decisions, probabilistic solvers, and SMC and simulation-based inference). The modelling cycle’s one note is the evaluation split, scientific-ML note 3 seen from the loop. The data levels place every dataset and every step on one scientific axis from L0 to L5, and data engineering is the floor the others stand on: the steps marked D are its steps, and only commit and publish are still proposals. The applications, with their own notes, are on the application pages.