Swell Shield Residuals

Grid: G2 at 0.05° (~5.5 km at 20°N) × 0.05° (~5.2 km at 20°N). Each cell rendered as a 0.05° square.
Color = % bias of model vs satellite Hs. recommended defaults applied

Color by

Residual = "where is the model wrong?". Variance = "where does the model disagree with itself?". T-stat = "how confident are we that the residual is real?". A cell can have a large residual but a small t (a few coincident measurements) or a small residual but a large t (many consistent measurements). Confidence-aware deployment cares about t.

Confidence filter (viewer only)

Tap a chip to instantly hide low-confidence cells. |t| is the per-cell statistical significance — how many standard errors away from "no correction" each cell's signal is. This filter is viewer-only — it does NOT change what the deployed forecast applies; it lets you preview "what would the matrix look like if we'd been stricter at build time." At |t| ≥ 3 (statistically robust), expect about ~5–10% of cells to survive.

Filter type

Spatial σ

Spatial reach of the smoothing kernel. Type a value above, or drag the slider (5–200 km range); rebuild fires when you release.
Recommended: 30 km (50 for bathymetric mode — pairs nicely with σdepth).

Value tolerance (peak preservation)

Bilateral kernel: cells only smooth against neighbors with similar value. Lower = stronger peak preservation. Higher = more aggressive smoothing across value differences.
Recommended: 15%.

Depth tolerance

How strict the bathymetric-similarity kernel is. 0.3 ≈ "smooth among cells within factor of 2 depth"; 0.5 ≈ "within factor of 3"; 1.0 ≈ "within factor of 10" (very loose). Recommended: 0.3.

Named-feature strictness

Engineering-knowledge channel: cells tagged with the same named feature (Mouchoir Bank, Silver-Mouchoir Channel, Cabarete Approach, etc.) get a kernel-weight boost; cross-tag smoothing gets penalized by exp(−strictness). 0 = ignore tags entirely (pure bathymetric bilateral). 2 = mild preference for same-tag cells. 5+ = essentially same-tag-only smoothing. Recommended: 2.
This is the channel for explicit engineering knowledge — the data alone says "this cell looks like a bank"; the tag says "this cell IS Mouchoir Bank and should behave like other Mouchoir Bank cells."

Minimum sample count

Cells below this are invisible. In "Anchor + spread" mode, this is also the threshold above which cells are treated as exact-value anchors.
Recommended: 5.

Wave direction (from)

NW
N
NE
W
all
E
SW
S
SE
Click a sector to filter. Click center to reset.
Recommended: All (start broad, then drill into NE/E for the shield zone)

Wind-bias subtraction

Recommended: ON. Subtracts the systematic bias surface B(wind_speed, |alignment|) so what's left is the geographically-localized shield signal. Toggle OFF to see raw residuals (shield + model error combined).

Per-cell confidence (opacity)

OFF (default): uniform opacity — matches what the deployed matrix actually does (every rendered cell contributes the same way; cells without data default to no-correction).
ON: opacity scales with the cell's own sample count — darker = more confident. Lets you see which cells are supported by lots of evidence vs single-pass artifacts.

Layer opacity (see basemap)

Global multiplier on cell opacity. Drop to ~30% to see the bathymetry / coastline through the corrections; raise back to 100% for full saturation.

Color scale

−30% +30%
Negative (red) = model over-predicts. Positive (blue) = model under-predicts.

Stats — current filter

loading…

Hover details

Hover a cell to see details.
About this view
What this visualizes:
- Per-G2-cell residuals (sat_hs − model_hs) / model_hs · 100
- 38,104 satellite matchups, 56 packages, Feb–May 2026
- Corrected-physics rerun (v11z + v11z3s + seed_p1b_13)

Filter types:
- None (raw): each cell at its exact value. Useful for
  examining raw single-pass corrections without any
  smoothing. Noisy at low n.
- Gaussian: sample-count-weighted Gaussian average over
  all neighbors within 3σ. Simple, but dilutes peaks
  toward neighborhood mean as σ grows.
- Bilateral (recommended): spatial Gaussian × value
  Gaussian. Cells only smooth against neighbors with
  similar value, so strong peaks are preserved. σ_value
  controls how sensitive the peak preservation is.
- Anchor + spread: cells with n ≥ min-count are
  "anchors" — rendered opaque at their EXACT value, no
  smoothing. Empty cells (n < min-count) within 3σ of
  any anchor are filled at lower opacity via Gaussian
  spread from anchors.

What you're looking for:
- Coherent corrections aligned with carbonate-platform
  shelves and island wakes → swell-shield signal
- Random scatter that vanishes at larger σ → model
  error masquerading as correction targets

What the wind-bias toggle does:
- ON: subtract B(wind_speed, |alignment|) — the basin-wide
  model error component. What's left should be feature-
  localized shield effects.
- OFF: raw residuals — shield + model error combined.

Provenance:
  matchups: matchups_with_wind.parquet (38,104 rows)
  build: build_swell_shield_residuals_data.py
  source: SWELL_CORRECTION_REBUILD_2026-06-02.md §8