pegel data
Check live water levels and flood/low-water state at any German federal-waterway gauge, get a whole-river overview, analyse level trends, and export gauges as GeoJSON — all over the open, key-free PEGELONLINE API via the pegel-online-cli.
Install
-
Install the
pegelCLI:npm i -g @maschinenlesbar.org/pegel-online-cli -
Add the marketplace (once):
/plugin marketplace add maschinenlesbar-org/plugins -
Install the plugin:
/plugin install pegel@maschinenlesbar
Requirements such as API keys or accounts are listed in SKILLS.md.
Skills
-
/pegel:pegel-river-overviewGive a whole-river snapshot of every gauge on a German waterway, ordered along the river by river kilometre, with live water levels and flood/low-water flags ranked, using the pegel-online-cli. Trigger when the user asks "show all gauges on the Rhine", "water levels along the Elbe", "any flooding on the Mosel right now?", "rank Danube stations by level", "which stations on the Weser are high?", or wants the state of a river end-to-end rather than one spot. Does the cross-station merge, km-ordering and flood ranking the bare CLI doesn't.
-
/pegel:pegel-stations-geojsonExport German waterway gauges as valid GeoJSON for mapping — optionally with their live water levels baked into each point's properties — using the pegel-online-cli. Trigger when the user asks to "map the Rhine gauges", "export Elbe stations as GeoJSON", "plot all water-level stations near Cologne", "show gauges with current levels on a map", or wants station geodata for Leaflet / geojson.io / QGIS / Kibana. Emits a clean FeatureCollection in correct [lon, lat] order, handling the embed quirk.
-
/pegel:pegel-trendAnalyse the recent water-level (or flow/temperature) trend at a German gauge over a time window — rising or falling, by how much, and how fast — using the pegel-online-cli. Trigger when the user asks "is the Rhine at Bonn rising or falling?", "level trend over the last 7 days at Köln", "how fast is the Elbe dropping?", "plot the last 3 days for Dresden", "min/max/now this week", or wants a time-series summary instead of one instantaneous reading. Pulls the measurement window and reduces it to direction, delta, rate and extremes.
-
/pegel:pegel-water-level-checkReport the live water level at one or more German waterway gauges and judge whether it is normal, high (flood-leaning) or low, using the pegel-online-cli. Trigger when the user asks "what's the Rhine level at Bonn?", "is the water high in Cologne?", "current gauge reading at Emmerich", "flood risk at Köln?", "how high is the Elbe at Dresden right now?", or wants a quick now-cast for named gauges. Pulls the current measurement plus its state classification and reports value, unit, timestamp and a plain-language verdict — not raw JSON.
Details
- Repository
- maschinenlesbar-org/pegel-online-cli
- CLI
- @maschinenlesbar.org/pegel-online-cli (command
pegel) - Plugin version
- 0.2.0, from tag v0.0.6
- License
- AGPL-3.0-or-later
- Data terms
- DATA_LICENSE.md
- Keywords
- pegelonline, wsv, wasserstand, water-level, hydrology, flood, rivers, geojson, germany, bund.dev