PrompTugal.news· Data
Version v0.1.47data read 2026-11-18 19:18 UTCPay for what you read · free here

IPMA weather warnings

The weather warnings for every warning area of Portugal (the 18 mainland districts, Madeira and the Azores): yellow, orange and red in full, green counted.

Three layers: the source (who publishes it, the terms, when it was read), the raw data as the publisher served it, and the processed data, what this site makes of it. The processing is where the value is: named fields, places joined, gaps marked, every value kept with its source and time.

1. The source

At a glance

FieldValue
PublisherIPMA, Instituto Português do Mar e da Atmosfera
Sourcehttps://api.ipma.pt/open-data/forecast/warnings/warnings_www.json
Reader pagehttps://www.ipma.pt/en/otempo/prev-sam/
Schedulehourly: the Pages workflow (.github/workflows/pages.yml), on a schedule at 17 minutes past each hour, and on every push to dev
Ownerdata@PrompTugal.dinis
Collectorsources/ipma-warnings/collect.mjs
Since2026-11-17
Last read2026-11-18 19:17 UTC
Last runok: 1 requests ok, 0 failed
Now27 active warnings in 25 areas
LicenceThe data: the source's terms (IPMA, Instituto Português do Mar e da Atmosfera). This page, the card and the records we add: CC BY 4.0.

Reuse terms

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. Reuse: with conditions: attribution to IPMA; no profit-making purpose.

O Utilizador pode copiar, importar ou utilizar gratuitamente informações ou símbolos nacionais existentes neste site para uso pessoal ou público desde que dessa utilização não decorram finalidades lucrativas ou ofensivas. O Utilizador deve referir, sempre, a fonte de informação.

Open question: Whether a paid reading meter on a PrompTugal site counts as a profit-making purpose under these terms is for Dinis to decide (or to ask IPMA). Until then the data site itself carries no meter.

2. The raw data

As IPMA served it at the latest read (2026-11-18 19:17 UTC), unprocessed. The files: warnings.json.

Every entry in IPMA's warnings file, green ones included, as bars from start to end by area. The data.

3. The processed data

The collector drops the green entries, names the area and the type in English, and counts the active warnings by level. The result: latest.json.

The warnings in force or to come: areas by type, coloured by level. The data.

More about this source

What runs by code, by agents and by people

Code

Agents

People

Cost

FieldValue
per run tokens0
per run model cost usd0
runnerGitHub Actions on a public repository: no charge (GitHub's terms for public repositories); about 3 minutes a run for all sources together (measured locally, 17 November 2026)
build tokensnot measured: accountant@'s ledger is not running on this account; to be added when it is
noteCode only: no model is called when the data is collected.

API addresses

These addresses stay for the life of v1 (the contract).

FileAddress
Latest readhttps://data.promptugal.news/api/v1/ipma-warnings/latest.json
Every readhttps://data.promptugal.news/api/v1/ipma-warnings/reads.json
Cardhttps://data.promptugal.news/api/v1/ipma-warnings/card.json
OpenAPIhttps://data.promptugal.news/api/v1/ipma-warnings/openapi.json
curl -s https://data.promptugal.news/api/v1/ipma-warnings/latest.json
curl -s https://data.promptugal.news/api/v1/ipma-warnings/reads.json | head -c 600

Vault

FieldValue
Vault id4ol6ht3d
Public read keysgit_public_read_abcdeee55bcbc6bf3598876a7344effaf15d873a625f8ab00c09afe2afc2b531
Clonesgit clone sgit_public_read_abcdeee55bcbc6bf3598876a7344effaf15d873a625f8ab00c09afe2afc2b531:4ol6ht3d
NotePublic read key: the source is public, so anyone may read the vault. A read key is derived one way and cannot write. The write key is never in this repository.

Last runs

Time (UTC)Requests okRequests failedReads with changed bytes
2026-11-18 19:17 UTC100 of 1
2026-11-18 19:12 UTC100 of 1
2026-11-18 19:08 UTC100 of 1
2026-11-18 19:05 UTC100 of 1
2026-11-18 18:57 UTC100 of 1
2026-11-18 18:53 UTC101 of 1
2026-11-18 17:56 UTC100 of 1
2026-11-18 17:41 UTC101 of 1
2026-11-18 16:32 UTC100 of 1
2026-11-18 16:13 UTC100 of 1
2026-11-18 16:10 UTC100 of 1
2026-11-18 16:06 UTC100 of 1
2026-11-18 16:01 UTC100 of 1
2026-11-18 15:57 UTC100 of 1
2026-11-18 15:53 UTC100 of 1
2026-11-18 15:49 UTC100 of 1
2026-11-18 15:45 UTC100 of 1
2026-11-18 15:42 UTC100 of 1
2026-11-18 15:38 UTC100 of 1
2026-11-18 15:35 UTC100 of 1
2026-11-18 15:30 UTC100 of 1
2026-11-18 15:15 UTC100 of 1
2026-11-18 15:10 UTC101 of 1
2026-11-18 15:06 UTC010 of 1

Showing 24 of 48 runs kept. Full detail with sha256: reads.json.

Preview of the values

The first 5 of 27 entries in active, as read 2026-11-18 19:17 UTC. Source: https://api.ipma.pt/open-data/forecast/warnings/warnings_www.json. Long values are shortened here; the file has them whole.

areaarea_nametypetype_ptlevelstartSource
AVRAveirorough seaAgitação Marítimaorange2026-11-18T17:19:00source
AVRAveirorough seaAgitação Marítimayellow2026-11-20T00:00:00source
BJABejarough seaAgitação Marítimayellow2026-11-18T17:19:00source
BRGBragarough seaAgitação Marítimaorange2026-11-18T17:19:00source
BRGBragarainPrecipitaçãoyellow2026-11-18T17:19:00source