Skip to content

Add Sweden SSM and Taiwan NUSC radiation sources - #174

Merged
malte9799 merged 2 commits into
mainfrom
feat/radiation-ssm-taiwan-sources
Nov 8, 2026
Merged

malte9799 merged 2 commits into
mainfrom
feat/radiation-ssm-taiwan-sources

Conversation

@malte9799

Copy link
Copy Markdown
Owner

Summary

Integrates additional open, mappable ambient gamma dose-rate networks into the radiation layer (DE BfS, FI STUK/FMI, CA Health Canada, Safecast):

  • 🇸🇪 Sweden — SSM Gammastationer (28 stations, hourly µSv/h)

    • Data: GET https://karttjanst.ssm.se/data/getHistoryForStation?locationId=&start=&end= (Unix ms) → latest [ts_ms, µSv/h] per station.
    • Coordinates: Miljödatasamverkan Stationsregister (datahost Strålningsmätningar SSM, CC0, SWEREF99 TM → WGS84).
    • Attribution: Strålsäkerhetsmyndigheten (SSM) (public authority data; karttjänst usage terms worth confirming for production use).
    • Snapshot: ssm-se.json (live-routed), written by fetch-data radiation task.
  • 🇹🇼 Taiwan — NUSC Radiation Monitoring Center (RMC) (63 stations, ~5 min, µSv/h)

    • Data: https://www.nusc.gov.tw/open/gammamonitor_u.csv (data.gov.tw dataset 119233, WGS84 coords, local time +08:00).
    • License: OGDL-Taiwan-1.0. Attribution: NUSC Radiation Monitoring Center (Taiwan).
    • Snapshot: nusc-tw.json (live-routed), written by fetch-data radiation task.

Research / docs

  • docs/DATENQUELLEN.md: adds integrated rows and a worldwide radiation source/license/status table (DE/FI/CA/SE/TW/Safecast integrated; JP EnvRadDB as step-1 candidate with required credit/rate/redistribution notes but no lat/lon in CSV output; PL CC BY 3.0 PL claim on gov.pl but PMS feed applicability unconfirmed; AT has values but no WGS84 coords + reuse restrictions noted; ES/CZ/KR/FR/CH/IE ambient/SI/BE/LU no confirmed open machine feed+license; EURDEP/REMon non-validated and not ingestible without prior written agreement from original data providers).
  • README.md, src/globe/layers/defs/radiation.ts source labels/hint updated.

Verification

  • Added parser tests: pickSsmLatest, parseNuscCsv in src/api/earth.test.ts.
  • pnpm vitest run src/api/earth.test.ts / pnpm typecheck could not be run in this environment (no clean project test/type run without full local setup in-session); changes follow existing RadiationStation/snapshotJson/LIVE_PATHS/fetch-data Promise.allSettled patterns. Please run CI / pnpm install && pnpm vitest run src/api/earth.test.ts && pnpm typecheck and review SSM karttjänst/NUSC OGDL attribution in product context.

Integrate two open, mappable ambient gamma dose-rate networks into the
radiation layer alongside BfS, STUK/FMI, Health Canada, and Safecast:

- Sweden SSM (28 stations, hourly µSv/h) via karttjanst history API;
  station coordinates from the Miljödatasamverkan Stationsregister
  (CC0). Attributed to Strålsäkerhetsmyndigheten (SSM).
- Taiwan NUSC/RMC (63 stations, ~5 min µSv/h) via data.gov.tw open CSV
  (dataset 119233), licensed OGDL-Taiwan-1.0.

Wire snapshots (ssm-se.json, nusc-tw.json) through fetch-data, LIVE_PATHS,
layer sources/hints, docs/README, and parser tests. Also document all
researched worldwide radiation sources and their license/status in
docs/DATENQUELLEN.md (including EnvRadDB step-1 candidate and EURDEP
non-ingestible terms).
@coderabbitai

coderabbitai Bot commented Nov 8, 2026 •

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: a6c50ef8-2d30-479c-a815-aba4f9ea8286
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@github-actions

github-actions Bot commented Nov 8, 2026 •

Copy link
Copy Markdown
Contributor

✅ Preview bereit

https://malte9799.github.io/orbis/preview/feat-radiation-ssm-taiwan-sources/

Pages braucht nach dem Push ggf. ~1 Min., bis die Seite erreichbar ist.

Schritt
✅ Abhängigkeiten installieren
✅ Build
✅ Veröffentlichen
✅ Online prüfen

Commit 0b95460 · Workflow-Lauf · 11:32:30 UTC

karttjanst.ssm.se blocks cross-origin requests from the app origin, so
the browser fallback (used when snapshot files are not yet on the data
branch) must go via VITE_PROXY_URL. Proxy NUSC CSV the same way.
@malte9799
malte9799 merged commit 3172d15 into main Nov 8, 2026
3 checks passed
@malte9799
malte9799 deleted the feat/radiation-ssm-taiwan-sources branch November 8, 2026 11:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant