Matrix

A programme on one screen: rows down, columns across, a cell where they meet. Stations by missions, at a glance or to work in.

The programme

What each station gets on each mission, as the customer agreed it. Hover to follow a row and column, click a cell for the methods in full, or use the arrow keys.

  • KCChlorophyll by CTD, upper 30 m
  • HHydrography to the bottom
  • KVChlorophyll samples, 0, 5 and 10 m
  • NNutrients, 0, 5, 10 and 15 m
  • N*Nutrients, 0, 2, 5, 10 and 15 m
  • SVisual range
  • WWinkler oxygen at the bottom, 2 parallels
<Matrix {rows} {columns} label="Programme, 2026"
	empty={(r, c) => visitAt(r, c).length === 0}
	cellLabel={(r, c) => `${r.label}, ${c.title}: ${describe(r, c)}`}
	footerLabel="Stations">
	{#snippet cell(r, c, size)}
		{#each visitAt(r, c) as m}<MatrixTag code={m.code} tone={m.tone} {size} />{/each}
	{/snippet}
	{#snippet detail(r, c)}…{/snippet}
	{#snippet footer(c)}{stationsOn(c)}{/snippet}
</Matrix>

Colours

Customers pick the colours: a hue per method, from a preset or the slider. The lightness is fixed, so every hue keeps its contrast in light and dark, checked here as you go. The matrix above follows.

KC Chlorophyll by CTD, upper 30 m
KC 6.2:1 KC 7.4:1
H Hydrography to the bottom
H 6.2:1 H 7.4:1
KV Chlorophyll samples, 0, 5 and 10 m
KV 5.5:1 KV 7.5:1
N Nutrients, 0, 5, 10 and 15 m
N 5.5:1 N 7.5:1
N* Nutrients, 0, 2, 5, 10 and 15 m
N* 5.5:1 N* 7.5:1
S Visual range
S 6.3:1 S 7.4:1
W Winkler oxygen at the bottom, 2 parallels
W 5.5:1 W 7.5:1

At a glance

MatrixGrid: the same season, one square per visit, for an overview tab or a report. Hover a square for what it is.

ASandsfjordenBVindafjordenCKrossfjordenDNedstrandsfjordenEJøsenfjorden, ytreFHidlefjordenGHøgsfjordenHKarmsundetIFinnøyfjordenJJelsafjordenKBoknafjordenLJøsenfjorden, indre
Jan
Feb
Mar
Apr
May
Jun
Jul
Aug
Sep
Oct
Nov
Dec
  • Published
  • At the lab
  • Sampled, in QC
  • Partly skipped
  • Skipped
  • Planned
  • Not on this mission

With status in the cells, sizes and four cell types to compare: the coverage matrix example.

Parts

The cells are yours to fill; these are the two made for them.

MatrixSquare

A cell’s state, in one square.

  • done Finished: published
  • progress Under way: at the lab
  • pending Started: in QC
  • partial Some of it skipped
  • skipped Not done, with a reason
  • planned Still to come
  • none Not part of it, by design

MatrixTag

A symbol: the colour is its kind, the fill its state.

  • KC violet CTD
  • N sky Water samples
  • S pink Visual range
  • B amber Buoy
  • E emerald Other
  • X neutral No kind

States

KVDone, or no stateKVUnder wayKVPlannedKVSkipped

Rules

  • Rows are the things (stations), columns the times (missions). Group columns by the agreed period, not the day they ran.
  • A column head is the day once there is one; before that the round ("1 of 2") in italics. A day outside the agreed period in amber.
  • Rows that aren’t part of a column are hatched, not blank: the gap is by design, not missing.
  • Tag colours mean the kind (CTD, water, visual range), never the state. State is in the fill.
  • Colours are a hue, not a colour: pass `hue` and the tag fixes lightness and chroma, so a customer’s choice can’t make it unreadable.
  • MatrixGrid where only the state matters; Matrix where people work in it.