energy_data_retrieval.pv_catalogue.dgeg#
Checksum-pinned DGEG polygon staging; never infer a canonical plant or AC power.
The CS service includes park blocks, sub-parks and non-PV components. Its licence states and kW/kVA fields must survive review without arithmetic or status inference.
- energy_data_retrieval.pv_catalogue.dgeg.read_dgeg_page(content, *, sha256)[source]#
Validate a projected ArcGIS page and stage explicit PV features only.
Raw geometry, owners and other unrequested fields never enter staged output. Row identifiers identify source polygons, not independent generating projects.
- Parameters:
content (bytes)
sha256 (str)
- Return type:
dict[str, Any]
- energy_data_retrieval.pv_catalogue.dgeg.group_dgeg_pages(pages, *, expected_object_ids=None)[source]#
Group evidence by licensing process, retaining every native block value.
Completeness needs an independently reviewed full-scope ID set. A final page or matching name does not prove a complete plant. Groups remain review-only.
- Parameters:
pages (list[dict[str, Any]])
expected_object_ids (set[int] | None)
- Return type:
list[dict[str, Any]]