BKG Starkregen WMS
Read one official WMS for the BKG heavy-rain hint map. Use the Python CLI in
scripts/cli.py. The skill lists named layers and samples one flow-velocity
point. It does not download a Germany-wide map.
Commands
python3 skills/bkg-starkregen-wms/scripts/cli.py layers --json
python3 skills/bkg-starkregen-wms/scripts/cli.py velocity --lat 52.0 --lon 10.0 --json
layersreads GetCapabilities once and returns every named layer, up to 160.
It does not call GetMap.
velocity --lat LAT --lon LONsends one GetFeatureInfo for
geschwindigkeit_agw (extraordinary-event flow velocity). Width and height
stay at 101. The centre pixel is I=50, J=50.
Coordinates and values
--lat and --lon are WGS84 decimal degrees, latitude then longitude. The
request uses WMS 1.3.0 and EPSG:4326. In that CRS the bounding-box axis order
is latitude, then longitude. The capabilities bounding box for
geschwindigkeit_agw advertises the same order (minx is latitude). A
longitude-first box is refused. CRS:84 on the same service is the opposite
order and is not used.
Geschwindigkeit is the source field. The service documents a 1 metre raster
resolution; it does not state a velocity unit, so the CLI does not label one.
state is value or no_data:
0or0.0is a measured zero (statevalue).no features were foundis no data (no_data_reasonno_feature). The
velocity is null, not zero.
- The exact token
-9999or-9999.0is no data (no_data_reason
sentinel). It is kept as source_token and is not returned as
geschwindigkeit.
JSON success output is {"meta": {...}, "results": [...]}. meta carries
source_url, publisher, retrieved_at, and licence when the capabilities
Fees text states Datenlizenz Deutschland Namensnennung 2.0. Failures use
results: [] and error with code, type, and message. An empty body, a
service exception, or a missing Geschwindigkeit field is a schema failure, not
an empty success.
Read references/source-notes.md for the licence,
attribution, fixtures, and request bounds. Run scripts/test_contract.py and
scripts/smoke_test.py.