Skip to content

Commit 7115da5

Browse files
committed
Preserve rich source media in visualization plan
1 parent 947df37 commit 7115da5

1 file changed

Lines changed: 37 additions & 6 deletions

File tree

docs/research/new-publisher-source-planning/UK_Sensor_Forecast_Like_Visualization_Plan_2026-05-26.md

Lines changed: 37 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ The recommended plan is therefore two-track:
1313

1414
This gives the Explorer a polished, forecast-style user experience quickly while preserving technical honesty about observed data versus predicted data.
1515

16+
Just as important: this plan should preserve the value already added by richer source-specific media. The buoy sensors, water-monitoring stations, and similar sources with working images, video clips, representative thumbnails, or other context should not be simplified into generic trend/forecast cards. Trend and forecast features should be additive: keep the media and source-specific context that make a station feel real, and improve those affordances whenever a source is touched.
17+
1618
## Current Live UK Source Inventory
1719

1820
| Source | Current publisher type | Current parameters | Persistent service | Forecast status |
@@ -120,6 +122,24 @@ Add a new Explorer card section named something like `Trends` or `Recent Pattern
120122

121123
The section should appear below `Latest readings` on deployed-system cards and in a compact form in map popups. It should behave like the existing US weather-style popup in visual density: small, useful, glanceable, and grounded in the selected station.
122124

125+
This section should be composed around the existing card value rather than replacing it. If a card already has strong imagery, video clips, source links, station photos, platform thumbnails, or curated attribution, those elements remain first-class. The new time-series or forecast panel should sit beside or below them, not crowd them out.
126+
127+
### Source Value Preservation Rule
128+
129+
Every source update should start with a quick value inventory before changing the card or map behavior.
130+
131+
Check whether the source already has:
132+
133+
- representative thumbnails or station imagery
134+
- camera images, video clips, or externally linked media
135+
- platform-specific diagrams, such as buoy, borehole, aircraft, vessel, or station illustrations
136+
- source attribution, license notes, and public landing-page links
137+
- rich latest-reading labels, role labels, symbols, and source filters
138+
- special map behavior, such as tracks, areas, clustered stations, or deployment geometry
139+
- source-specific freshness handling, stale-data warnings, or quality flags
140+
141+
The default rule is to preserve those features and make them better if the new work touches the source. A trend card should never cause a buoy video, water-monitoring image, station thumbnail, or curated source link to disappear. If layout pressure forces a choice, preserve the source-specific media/context and make the new trend panel collapsible or secondary.
142+
123143
Recommended labels:
124144

125145
| Data type | UI label | Avoid |
@@ -160,6 +180,7 @@ Implementation notes:
160180
- Cap the per-card request count. For example, fetch up to three datastreams, `_limit=48` or similar, and stop if the server returns no data.
161181
- Reuse the card's existing latest-reading labels and freshness logic so visual language stays consistent.
162182
- Cache per datastream for a short browser TTL, roughly 5 minutes, to avoid repeated fetches while clicking stacked features.
183+
- Preserve existing media slots, thumbnails, video links, source attribution, and specialized card sections. The new trend component should be a card section, not a card takeover.
163184

164185
### Source-Specific Behavior
165186

@@ -342,30 +363,35 @@ Potential later work:
342363

343364
## Recommended Build Order
344365

345-
1. Explorer-only Station Trend Card
366+
1. Source value inventory and preservation pass
367+
- Identify existing image, video, thumbnail, attribution, symbol, source-filter, and rich-card behavior for every source being updated.
368+
- Treat buoy sensors and water-monitoring stations with working media as regression sentinels.
369+
- Capture before/after screenshots or browser notes for at least one rich-media source whenever the card layout changes.
370+
371+
2. Explorer-only Station Trend Card
346372
- No new backend publisher required.
347373
- Fetch recent observations for currently selected station cards.
348374
- Add source-specific labels and trend rules.
349375
- Highest visual payoff for the least operational risk.
350376

351-
2. Met Office Global Spot Forecast Publisher
377+
3. Met Office Global Spot Forecast Publisher
352378
- True forecast data.
353379
- Best match to the screenshot-style weather UI.
354380
- Use existing secret-file pattern and Oracle service deployment practices.
355381

356-
3. EA Hydrology Station Scale / Hydrograph Enrichment
382+
4. EA Hydrology Station Scale / Hydrograph Enrichment
357383
- Add recent series, quality flags, and station range bands.
358384
- Consider station-scale metadata enrichment in bootstrap or card fetch.
359385

360-
4. UK-AIR DAQI / Pollution Forecast Discovery
386+
5. UK-AIR DAQI / Pollution Forecast Discovery
361387
- Add observed pollutant trend cards first.
362388
- Only add DAQI or 5-day forecast if threshold/source semantics are correct.
363389

364-
5. Flood-Risk Forecast Overlay
390+
6. Flood-Risk Forecast Overlay
365391
- Separate forecast-area product.
366392
- More complex but potentially excellent for demos.
367393

368-
6. BGS Long-Horizon Baseline Panel
394+
7. BGS Long-Horizon Baseline Panel
369395
- Make BGS visually useful without forcing a forecast metaphor.
370396

371397
## Acceptance Criteria
@@ -375,6 +401,8 @@ For the immediate trend-card phase:
375401
- Production Explorer cards for Met Office, EA Hydrology, UK-AIR, and BGS can show recent series without blocking map load.
376402
- Card fetches are lazy and bounded.
377403
- Each source uses correct labels and units.
404+
- Existing source-specific value-adds, including images, video clips, thumbnails, attribution, rich role labels, source filters, and specialized map behavior, are preserved or improved.
405+
- Buoy sensors and water-monitoring stations with working images/video are included as regression checks when shared card layout changes are made.
378406
- Observation-backed UI uses `Recent trend` or equivalent, not `Forecast`.
379407
- True forecast cards, when added, include issue time and valid time.
380408
- Browser console remains clean after the recent `controlstreams` fix.
@@ -396,6 +424,8 @@ For true forecast publishers:
396424
- Do not request bulk hydrology history during map load; the Hydrology API has large volumes and fair-use cautions.
397425
- Do not use UKGEOS photographs unless their license is explicitly reusable; continue using the official non-photo borehole illustration unless better terms are found.
398426
- Do not make forecast points look like physical deployed stations.
427+
- Do not flatten rich source cards into a lowest-common-denominator telemetry panel. Preserve buoy media, water-monitoring imagery, video clips, curated thumbnails, attribution, and source-specific map/card behavior.
428+
- Do not let the trend/forecast component become the whole card. It is an additional time-context layer.
399429
- Keep all access-gated Met Office credentials out of git, logs, issue bodies, and screenshots.
400430

401431
## Bottom Line
@@ -405,5 +435,6 @@ The clever path is not to bolt a generic forecast card onto everything. It is to
405435
- `Observed now`: latest station readings.
406436
- `Recent pattern`: bounded recent history and trend from observed telemetry.
407437
- `Forecast outlook`: explicit source forecast products with issue and valid times.
438+
- `Source context`: the imagery, video, attribution, diagrams, station identity, and specialized behavior that make each data source worth exploring.
408439

409440
That model lets the new UK sources feel as rich as the US weather-style cards while keeping the data story accurate and defensible.

0 commit comments

Comments
 (0)