Check the Setup
- Python 3.10 or newer
- An internet connection
- The requests Python package
Slovenian river and lake station measurements for building a local water-level conditions display.
Report a ProblemFrom Source to Product Signal
The official Slovenian Environment Agency feed supplies current public data. Start with two current Slovenian stations; a provisional station level is not a flood warning or a destination-wide measurement.
Install the packages, then run the notebook cell.
python -m pip install requests
import requests
from xml.etree import ElementTree as ET
url = "https://www.arso.gov.si/xml/vode/hidro_podatki_zadnji.xml"
response = requests.get(url, timeout=20)
response.raise_for_status()
root = ET.fromstring(response.content)
print("Prepared", root.findtext("datum_priprave"))
for station in root.findall("postaja")[:2]:
print(station.get("sifra"), station.findtext("reka"),
station.findtext("vodostaj"), station.findtext("datum_cet"))Test a Useful Signal
Inspect two current Slovenian stations with source timestamps.
Slovenian Environment Agency is a government source. Last verified 2026-09-28. Temporal coverage: current observations or notices.