fix: identify BWK snapshot series
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 13:23:00 +02:00
parent 16be7564f3
commit 50a9ef5ac9
2 changed files with 3 additions and 0 deletions
@@ -82,6 +82,7 @@ def test_official_bwk_contract_and_class_labels_are_fixed() -> None:
assert module.WFS_URL == "https://geo.api.vlaanderen.be/BWK/wfs"
assert module.TYPE_NAME == "BWK:Bwkhab"
assert module.SOURCE_VERSION == "2025"
assert module.TEMPORAL_SERIES_KEY == "inbo-bwk-natura2000:mol"
assert module.ATTRIBUTION == "Bron: INBO"
assert module.EVALUATION_LABELS == {
"z": "Biologisch zeer waardevol",
+2
View File
@@ -37,6 +37,7 @@ CATALOG_URL = (
REPORT_URL = "https://doi.org/10.21436/inbor.129502912"
TYPE_NAME = "BWK:Bwkhab"
SOURCE_VERSION = "2025"
TEMPORAL_SERIES_KEY = "inbo-bwk-natura2000:mol"
PUBLICATION_DATE = "2025-12-10T00:00:00Z"
ATTRIBUTION = "Bron: INBO"
DEFAULT_API_URL = "http://127.0.0.1:8000"
@@ -706,6 +707,7 @@ def upload_artifact(
"source_metadata_json": json.dumps(source_metadata, ensure_ascii=False),
"provenance_metadata_json": json.dumps(provenance_metadata, ensure_ascii=False),
"area_id": area_id,
"temporal_series_key": TEMPORAL_SERIES_KEY,
"observed_at": PUBLICATION_DATE,
"temporal_granularity": "snapshot",
"source_version": SOURCE_VERSION,