mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-07-12 13:29:04 +00:00
Per Property the inspection script now resolves the UPRN's spatial reference from the Ordnance Survey Open-UPRN parquet in S3 (GeospatialS3Repository over a boto3 ParquetReader) and threads both levers into run_modelling: - planning_restrictions: the conservation/listed/heritage flags that gate the wall + solar measures (ADR-0019/0020). - solar_insights: a live Google Solar buildingInsights fetch keyed on the reference coordinates, so the Solar PV Options can fire (ADR-0026). Mirrors IngestionOrchestrator._fetch's coords->solar flow. Degrades gracefully per Property: a UPRN S3 doesn't cover -> unrestricted/no-solar; a point Google has no coverage for (BuildingInsightsNotFoundError) -> no-solar; both still modelled. --no-solar skips the Google leg. A context note (restrictions; solar) is printed and written to the md/csv summary. Verified live: spatial_for + solar fetch round-trip on real UPRNs (S3 via ambient ~/.aws creds, pyarrow reads parquet bytes). pyright clean. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| analyse_api_sap_clusters.py | ||
| decompose_api_cost_error.py | ||
| download_cotality_evidence.py | ||
| elmhurst_input_sheet.py | ||
| eval_api_sap_accuracy.py | ||
| fetch_2026_epc_sample.py | ||
| fetch_cohort2_api_jsons.py | ||
| fetch_epc_bulk_sample.py | ||
| fetch_epc_dump.py | ||
| historic_epc_demo.py | ||
| init_db.py | ||
| profile_api_error.py | ||
| rename_sharepoint_files.py | ||
| run_modelling_cohort.py | ||
| run_modelling_e2e.py | ||
| run_property_report.py | ||
| sero_address_list.csv | ||