You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/research/new-publisher-source-planning/UK_Sensor_Forecast_Like_Visualization_Plan_2026-05-26.md
+37-6Lines changed: 37 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,6 +13,8 @@ The recommended plan is therefore two-track:
13
13
14
14
This gives the Explorer a polished, forecast-style user experience quickly while preserving technical honesty about observed data versus predicted data.
15
15
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
+
16
18
## Current Live UK Source Inventory
17
19
18
20
| 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
120
122
121
123
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.
122
124
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
+
123
143
Recommended labels:
124
144
125
145
| Data type | UI label | Avoid |
@@ -160,6 +180,7 @@ Implementation notes:
160
180
- 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.
161
181
- Reuse the card's existing latest-reading labels and freshness logic so visual language stays consistent.
162
182
- 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.
163
184
164
185
### Source-Specific Behavior
165
186
@@ -342,30 +363,35 @@ Potential later work:
342
363
343
364
## Recommended Build Order
344
365
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
346
372
- No new backend publisher required.
347
373
- Fetch recent observations for currently selected station cards.
348
374
- Add source-specific labels and trend rules.
349
375
- Highest visual payoff for the least operational risk.
350
376
351
-
2. Met Office Global Spot Forecast Publisher
377
+
3. Met Office Global Spot Forecast Publisher
352
378
- True forecast data.
353
379
- Best match to the screenshot-style weather UI.
354
380
- Use existing secret-file pattern and Oracle service deployment practices.
355
381
356
-
3. EA Hydrology Station Scale / Hydrograph Enrichment
382
+
4. EA Hydrology Station Scale / Hydrograph Enrichment
357
383
- Add recent series, quality flags, and station range bands.
358
384
- Consider station-scale metadata enrichment in bootstrap or card fetch.
359
385
360
-
4. UK-AIR DAQI / Pollution Forecast Discovery
386
+
5. UK-AIR DAQI / Pollution Forecast Discovery
361
387
- Add observed pollutant trend cards first.
362
388
- Only add DAQI or 5-day forecast if threshold/source semantics are correct.
363
389
364
-
5. Flood-Risk Forecast Overlay
390
+
6. Flood-Risk Forecast Overlay
365
391
- Separate forecast-area product.
366
392
- More complex but potentially excellent for demos.
367
393
368
-
6. BGS Long-Horizon Baseline Panel
394
+
7. BGS Long-Horizon Baseline Panel
369
395
- Make BGS visually useful without forcing a forecast metaphor.
370
396
371
397
## Acceptance Criteria
@@ -375,6 +401,8 @@ For the immediate trend-card phase:
375
401
- Production Explorer cards for Met Office, EA Hydrology, UK-AIR, and BGS can show recent series without blocking map load.
376
402
- Card fetches are lazy and bounded.
377
403
- 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.
378
406
- Observation-backed UI uses `Recent trend` or equivalent, not `Forecast`.
379
407
- True forecast cards, when added, include issue time and valid time.
380
408
- Browser console remains clean after the recent `controlstreams` fix.
@@ -396,6 +424,8 @@ For true forecast publishers:
396
424
- Do not request bulk hydrology history during map load; the Hydrology API has large volumes and fair-use cautions.
397
425
- Do not use UKGEOS photographs unless their license is explicitly reusable; continue using the official non-photo borehole illustration unless better terms are found.
398
426
- 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.
399
429
- Keep all access-gated Met Office credentials out of git, logs, issue bodies, and screenshots.
400
430
401
431
## Bottom Line
@@ -405,5 +435,6 @@ The clever path is not to bolt a generic forecast card onto everything. It is to
405
435
-`Observed now`: latest station readings.
406
436
-`Recent pattern`: bounded recent history and trend from observed telemetry.
407
437
-`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.
408
439
409
440
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