Argonautical

Onboard ocean forecasting, explained

A browser simulation of an onboard forecast pipeline. It shows three things: the pipeline is asset-driven, our software is separate from the off-the-shelf parts, and the system is robust.

Open the demonstrator →

Synthetic data, illustrative numerics, mocked engines. Works offline once loaded. · PR previews

What you are looking at

The demonstrator opens paused at T+00:00 with a short walkthrough. Press ? in the Control panel to replay it. There are three views of the same running simulation, chosen with the switch in the Control panel. Switching views never changes what the simulation does.

Tokens are the small lettered documents moving along the lines. Each one is a real call, write, read or message in the simulation, lettered by the standard it follows (S SensorThings, E EDR, C CoverageJSON, M MQTT and so on; the key is at the foot of the consumers column). Hover a token to see what it carries. Pause, then click it to see a mock payload. Countdowns show what will happen next: the drift sensor's next check, when the forecast goes stale, and retry timers. Click a store to see its rows.

Why an asset-driven pipeline

The orchestrator does not run a fixed job on a timer. It keeps a graph of data assets (observations, climatology, the previous forecast, forecast, features, announcement) and rebuilds what is out of date when something gives it a reason. There are three reasons, or triggers:

Only one run happens at a time. A request that arrives during a run waits in a queue. Later requests merge into the queued one, and the log records every cause (for example drift + manual). So a burst of triggers costs one extra run, not many. Each asset records when it was last built, so it is always clear how fresh the forecast is and why it was rebuilt.

Build vs adopt

We build only the parts that make the system worth having. Commodity parts are adopted from open source. The screen uses one visual language for this:

Each of our modules sits inside the asset it computes. The orchestrator reaches it only through a one-line shim, and the modules import nothing from the orchestrator. The build checks this boundary and fails if it is broken. That is what keeps the orchestrator replaceable.

Caveats. In the demonstrator every element is custom simulation code; the styling only shows the production decision. Of our modules, the model runner is the real special sauce. Ingestion QC and drift scoring are mostly standard techniques with our own thresholds. In production the shims will grow some integration glue (request merging, capped retries), and that glue needs an owner.

Robustness

Demo simplification: retries here never give up. Production would cap them, raise an alert and let the staleness schedule recover.

Production architecture

The physical view shows a candidate deployment on the ship that works with the shore link down. It has four zones, left to right:

Tokens follow real network links and light a firewall gate wherever they cross a zone. The shore link is up for part of each cycle: new climatology arrives only when it is up, and export bundles wait in an outbox when it is down. Parts with no simulated behaviour (observability, backup, registry) are greyed out.

The module boundary is an import boundary, not a process boundary. Only the model runner gets its own process (via Dagster Pipes). The 10 s drift check is demo time-compression; production would check every 30 s or more.

Scenarios to try

  1. Drift. In Ocean, shift two or more inputs. Watch the drift chart move away from the forecast until drift is declared. A new forecast is built, features are detected, the forecast is announced and every consumer shows ✓.
  2. Staleness. Change nothing. When the staleness countdown reaches 0:00, a scheduled run replaces the forecast.
  3. Queue and merge. Press Request a run on the Watchkeeper card during a run, then press it again. The two requests become one queued run, and the log shows both causes.
  4. Module offline. Pause the model runner (on forecast) during a run. Watch the amber retries, then resume it.
  5. Outage. Stop ingestion for 30 s. The sensor broker's queue grows, then drains when you start it again.
  6. Noisy sensor. Raise a sensor's noise to 3σ. Open the event log to see the rejected spikes and their reasons.
  7. Late joiner. After the first announcement, press + Consumer. The new consumer catches up at once.
  8. Capabilities. Switch the power off, add the wave-height sensor and future forecasts, and switch on again. Watch the consumers tailor themselves to the catalogue during the handshake.

Controls are coloured by who would really have them: teal for the sea and sensors, violet for the ship's operator, and the Control panel for the presenter. Use the ½×–60× speeds to skip waits, and Step to move one second at a time. Guided tours that play these scenarios without a presenter are planned.

Source documents