Bucharest Solar Study Back to evidence and source records

docs/verification.md Original Markdown

Verification and figures

Run these commands from the repository root in the pinned environment. The baseline check can run as soon as the horizontal GeoParquet exists. The final check uses the completed pilot, holdout, city and facet exports.

.venv/bin/python scripts/weather_crosscheck.py
.venv/bin/python scripts/verify_solar_outputs.py --baseline-only
.venv/bin/python scripts/assess_solar_experiments.py all
.venv/bin/python scripts/canopy_proximity.py
.venv/bin/python scripts/verify_solar_outputs.py
MPLBACKEND=Agg .venv/bin/python scripts/plot_solar_results.py all

Weather and city exports

The weather crosscheck reads the five raw response files, checks units, pins PVGIS radiation and horizon settings, verifies one-hour UTC continuity, and converts NASA POWER daily means with calendar days in each month. It separately checks complete DJF winters for interannual variability. The two derived comparison CSVs reproduced byte-for-byte from the raw files. Crosscheck results and input SHA‑256 digests · Matched months · Period normals

The independent output checks match the canonical IDs, sectors and exact geometries. They verify positive projected area, consistent height provenance, adequate fields for reported model status and fallback reasons, same-geometry shade fractions, incident energy calculations and period closure. Pilot and holdout checks reconcile declared extents and counts and test that receiver IDs do not overlap. The final validation report records output paths, counted records and SHA‑256 digests. Baseline verification · Final verification

Comparisons

The block-model comparison uses the fixed horizontal baseline and reports signed and absolute changes by mapped roof shape, building class and local density. A roof with no mapped shape is counted as unknown. Relative changes require a reference value of at least 1 kWh/m². The unshaded citywide baseline has no within-period building rank. Block comparison strata

The four roof scenarios share one 20-building cohort with 4,534 m² of projected area across the three pilots. The paired table compares each combination of the two pitches and two ridge orientations, both by zone and pooled. It uses average ranks for ties when computing Spearman correlation, with stable building IDs breaking ties on the sunny-quintile boundary. The separate per-building table preserves the four raw values and their minimum, maximum and spread. A range describes sensitivity to the specified assumptions. Pairwise rank comparisons · Per-roof values and spreads · Spread by season

The tag-facet representation audit reports the whole-outline and linked-part cohorts against the full city inventory by sector, building class, roof shape and height source. Covered projected area measures the part of the geometry directly represented. The model coverage and rank tables split city results by sector, height provenance and selected output status. Facet representativeness · City model coverage · City height-scenario rank stability

Canopy proximity

The citywide canopy flag measures planar distance from each projected footprint to the closest observed 3 m canopy cell center within 20 m. Candidate cells have heights from 2 to 45 m and must be clear of mapped building and part footprints. A no-detection result with partial raster support is recorded as unknown. The source imagery is from 2019. The basic mask flags 170,022 roofs, while a 3 m margin around mapped structures still flags 164,108. These high counts show that the proximity flag has limited ability to discriminate roofs in Bucharest. It measures proximity to canopy-height grid cells and can reflect alignment or raised-surface artifacts. The pilot provides measured differences between the specified canopy and building-only scenarios. Building-level canopy proximity · Sidecar verification and input SHA‑256 digests · Proximity by sector

Figures