fix: identify BWK snapshot series
This commit is contained in:
@@ -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.WFS_URL == "https://geo.api.vlaanderen.be/BWK/wfs"
|
||||||
assert module.TYPE_NAME == "BWK:Bwkhab"
|
assert module.TYPE_NAME == "BWK:Bwkhab"
|
||||||
assert module.SOURCE_VERSION == "2025"
|
assert module.SOURCE_VERSION == "2025"
|
||||||
|
assert module.TEMPORAL_SERIES_KEY == "inbo-bwk-natura2000:mol"
|
||||||
assert module.ATTRIBUTION == "Bron: INBO"
|
assert module.ATTRIBUTION == "Bron: INBO"
|
||||||
assert module.EVALUATION_LABELS == {
|
assert module.EVALUATION_LABELS == {
|
||||||
"z": "Biologisch zeer waardevol",
|
"z": "Biologisch zeer waardevol",
|
||||||
|
|||||||
@@ -37,6 +37,7 @@ CATALOG_URL = (
|
|||||||
REPORT_URL = "https://doi.org/10.21436/inbor.129502912"
|
REPORT_URL = "https://doi.org/10.21436/inbor.129502912"
|
||||||
TYPE_NAME = "BWK:Bwkhab"
|
TYPE_NAME = "BWK:Bwkhab"
|
||||||
SOURCE_VERSION = "2025"
|
SOURCE_VERSION = "2025"
|
||||||
|
TEMPORAL_SERIES_KEY = "inbo-bwk-natura2000:mol"
|
||||||
PUBLICATION_DATE = "2025-12-10T00:00:00Z"
|
PUBLICATION_DATE = "2025-12-10T00:00:00Z"
|
||||||
ATTRIBUTION = "Bron: INBO"
|
ATTRIBUTION = "Bron: INBO"
|
||||||
DEFAULT_API_URL = "http://127.0.0.1:8000"
|
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),
|
"source_metadata_json": json.dumps(source_metadata, ensure_ascii=False),
|
||||||
"provenance_metadata_json": json.dumps(provenance_metadata, ensure_ascii=False),
|
"provenance_metadata_json": json.dumps(provenance_metadata, ensure_ascii=False),
|
||||||
"area_id": area_id,
|
"area_id": area_id,
|
||||||
|
"temporal_series_key": TEMPORAL_SERIES_KEY,
|
||||||
"observed_at": PUBLICATION_DATE,
|
"observed_at": PUBLICATION_DATE,
|
||||||
"temporal_granularity": "snapshot",
|
"temporal_granularity": "snapshot",
|
||||||
"source_version": SOURCE_VERSION,
|
"source_version": SOURCE_VERSION,
|
||||||
|
|||||||
Reference in New Issue
Block a user