# skusky-siren: siren test dates, with the town's posts on them

One record per siren test date of the year in Slovakia, as the Ministry of the Interior's national schedule sets
them: 12 dates in 2026, each at 12:00, with the kind of test for each kind of siren, and the town's own posts and
calendar events about that date. Built by `scripts/fetch_skusky_siren.py`.

## Rebuild

```bash
python scripts/fetch_skusky_siren.py              # the schedule PDFs listed in SCHEDULES, and data/senec.db
python scripts/fetch_skusky_siren.py --offline    # from the cached PDFs in data/atlas/raw/skusky-siren/ (not committed)
```

Run `scripts/senec_content.py` first for the town's newest posts. A new year: add its PDF's URL to `SCHEDULES`
(the schedule has no stable index); past years' records stay as long as their URL stays listed.

## Files

| File | Content |
|---|---|
| `skusky-siren.json` | a list of records, one per date |
| `skusky-siren.csv` | the same records, one row each, same columns (a list is joined with spaces). UTF-8, CRLF, empty = null |

## Source

„Organizačné a technické zabezpečenie preskúšania prevádzkyschopnosti systémov varovania obyvateľstva v Slovenskej
republike v roku 2026“, table A, as Okresný úrad Zvolen (odbor krízového riadenia) publishes it on minv.sk:
https://www.minv.sk/swift_data/source/miestna_statna_sprava/ou_zv/okr/informacie_a_aktualne_temy/2921268%20-%20Terminy%20preskusania%20siren%202026.pdf.
The schedule is the same for the whole country; Okresný úrad Trnava and the city of Bratislava publish the same
dates. The town's posts and events come from senec.sk through `data/senec.db`.

## Fields

- `record_id`, `date` (ISO), `time` (`12:00` on every date).
- `electronic_sirens`: the test of electronic sirens as printed: „tichá skúška (TMS)“ (silent) or „hlasitá skúška
  (MO|RDS) celá SR“ (loud, the whole country). `electronic_loud`: true for a loud test. `electronic_activation`:
  the code in brackets: `TMS` telemetric monitoring system, `MO` local control by each town or municipality, `RDS`
  radio data system.
- `electromotor_sirens`: the test of electromotor sirens as printed („hlasitá skúška“: the table's cell spans every
  date, so these sound on each one).
- `autonomous_systems`: the test of autonomous warning systems (such as a plant's own sirens) as printed, null when
  the table leaves it empty. The asterisk on 11 Dec is the schedule's own footnote: apart from SE-EBO and SE-EMO
  (the Bohunice and Mochovce power plants), the autonomous systems run that loud test from their own central control.
- `town_posts`: senec.sk pages about that date: a calendar event that starts on it, or a post that mentions sirens
  published in the seven days before it.
- `issuer`: the office whose copy of the schedule is the source. `source_url`, `last_update` (the day the record
  last changed).

## Caveats

- **Which sirens Senec has is not published**, so the dataset does not say which of the columns sounds in Senec.
  The town posted a two-minute siren test for 13 Mar 2026 and lists loud tests on 11 Sep and 11 Dec in its calendar.
- The schedule allows an extra loud test outside these dates only with the written consent of the ministry's crisis
  management section. The year's PDF is downloaded again on every run that is not `--offline`.

## License

Published by Som Senec under the Creative Commons Attribution 4.0 International licence (CC BY 4.0): https://creativecommons.org/licenses/by/4.0/. You may use it for any purpose, commercial use included, if you credit "Som Senec, somsenec.sk". The source documents that each record links to keep their own terms.
