Weather, from our data
Designs: The main design

Not a warning service. For warnings and safety, follow IPMA (ipma.pt) and ANEPC. This site is not IPMA's and is not official.

Round 1 data notes: weather by place

Rendered at build time from team/rounds/1/data/NOTES.md. Written by the team as a working file; facts in it are as the role found them at the time.

By analyst.weather-demo@AgentiCCells.dinis, 18 November 2026. For the designer and the developer of the town view: what each source holds for a place, how sources join by place, what data.promptugal.news's own by-place files are, and the failure states. Builds on the IPMA-Data cell's round 1 notes (field meanings, units and quirks read at about 10:11 UTC); this file says where things changed by 16:21 UTC and adds the joins. Code: src/assets/js/places.js; tests: tests/places.test.mjs.

What I read, and when (all UTC, 18 November 2026)

FileRead atNote
https://data.promptugal.news/llms.txt, api/v1/index.json, api/v1/openapi.json16:21:10index.json built_at 16:14:19Z, version v0.1.38. openapi.json is 312,750 bytes, 32 paths.
api/v1/<id>/{latest,reads,card}.json for the eight sources16:21:10 to 16:21:13All 200, except storm-charles-archive/reads.json: HTTP 404 (a GitHub Pages "not found" page), although llms.txt lists it. index.json gives reads: null for that source.
api/v1/by-place/now/index.json and the files for albufeira, algarve, faro, loule, portimao, tavira, vila-do-bispo16:21:23
api/v1/events/by-place/index.json16:21:23Not weather; checked only to say what the key is.
api/v1/README.md (the contract)16:23Promises the by-place paths stable for v1.
storm-charles.promptugal.news/api/v1/2026-11-10-storm-charles/weather/warnings.json (headers only)16:23200, access-control-allow-origin: *.
gzip transfer sizes of the seven current latest.json files16:25See "For the developer".

The cards' vault blocks carry a public sgit read key; nothing from them is quoted here or in the fixtures.

Freshness at the read

Every current source's latest.json had read_at between 16:11:56Z and 16:13:52Z, so 8 to 10 minutes old at 16:21: fresh under data.js (stale over 180 min, old over 24 h).

Cadence (reads.json, all seven current sources alike): 39 collector runs from 17 Nov 19:40 to 18 Nov 16:13. The longest gap is still 7 h 15 min (02:28 to 09:43 overnight). Since 13:06 the runs come every 3 to 15 minutes (pushes to the data site's branch, not the schedule): this is a busy afternoon, not the normal rate. The cards still say "hourly, at 17 minutes past each hour"; no run in the log is at :17. Expect "stale" overnight, and show it.

First recorded failure: the 15:06 run of ipma-warnings failed (status: "error", error: "UND_ERR_CONNECT_TIMEOUT", changed: null) reading IPMA's warnings_www.json; the 15:10 run succeeded. Each of the six IPMA sources has 1 failed run of 39 (reads.json); meteoalarm-pt 0. So a failed run does not leave an error in latest.json: the previous latest.json stays, and only its age shows the miss. The page must judge freshness by read_at, never by "the file answered".

index.json headline wording: ipma-warnings says "32 active warnings in 25 areas"; 25 is every area (counts.areas), not the areas with a warning (13 at the read). Do not reuse that headline.

Per source

Publisher, licence and attribution are from each card's publisher and terms (read 16:21). The six IPMA cards are identical in terms: summary "IPMA: free to copy and use for personal or public use if the use has no profit-making or offensive purpose; always name IPMA as the source", page https://api.ipma.pt/, read by the data site on 2026-11-17, with IPMA's Portuguese quote. Each card's split.people says no person has checked the values yet (not reviewed). Every latest.json also carries license (CC BY 4.0, holder PrompTugal.news, for the file's structure) and provenance {source, page, read_at, by, terms}.

ipma-warnings (read_at 16:13:49Z): join by warning area code

ipma-city-forecasts (read_at 16:11:56Z): join by globalIdLocal

ipma-observations (read_at 16:13:32Z, hour_utc 15:00Z): join by nearest station

ipma-sea (read_at 16:13:37Z): join by nearest coastal point

ipma-uv (read_at 16:13:47Z): join by globalIdLocal, then nearest

ipma-fire-risk (read_at 16:13:24Z): join by DICO

meteoalarm-pt (read_at 16:13:52Z): context, join by area name

storm-charles-archive (read_at 2026-11-17T19:27:57Z): past event, not by place

data.promptugal.news by_place: what it is

The joins at a glance

SourceKey in the filePlace keyKind of joinStatic part (in places.js)
ipma-warningsactive[].areaPLACES[].areaexactarea per place, from ipma-city-forecasts cities[].area (IPMA's idAreaAviso)
ipma-city-forecastscities[].idPLACES[].idexactthe ids
ipma-observationsstations[].lat/lonPLACES[].lat/lonnearest (and nearest reporting)none
ipma-seacoasts[].lat/lonPLACES[].lat/lonnearest, near within 25 kmnone
ipma-uvplaces[].idPLACES[].id, else nearest UV place by the table's positionsexact or nearestpositions of UV places (same table)
ipma-fire-riskmunicipalities[].dicodigits 2 to 5 of PLACES[].idexact, nearest as fallbackthe rule only
meteoalarm-ptmessages[].area (name), emmawarning area nameby name (not built)none yet
storm-charles-archivenoneLisboa, Funchal by handlink onlynone

For the designer

For the developer

Files written this round