fix: load complete temporal dataset inventory
GeoIntel CI / docs-smoke (push) Canceled after 0s
GeoIntel CI / contract-smoke (push) Canceled after 0s

This commit is contained in:
Codex
2026-07-15 12:22:37 +02:00
parent fb38eb3e91
commit 232e8c2126
5 changed files with 66 additions and 4 deletions
@@ -446,6 +446,15 @@ def main() -> int:
)
layer_path = args.output_dir / f"waterinfo_{parameter.key}_station_layer.json"
layer_sha256 = write_json(layer_path, station_layer)
if not stations:
results.append(
{
"parameter": parameter.key,
"timeseries_group_id": parameter.group_id,
"status": "no_stations_in_area",
"observation_count": 0,
}
)
if len(stations) > args.max_stations:
raise RuntimeError(
f"Waterinfo returned {len(stations)} in-area {parameter.key} stations; safety limit is {args.max_stations}"