diff --git a/etl/eligibility/ha_15_32/ha_analysis_batch_3.py b/etl/eligibility/ha_15_32/ha_analysis_batch_3.py index 14b6dfcf..9143df5f 100644 --- a/etl/eligibility/ha_15_32/ha_analysis_batch_3.py +++ b/etl/eligibility/ha_15_32/ha_analysis_batch_3.py @@ -610,6 +610,27 @@ def get_epc_data( ) +def analyse_ha_data(): + """ + The approach we take within this function is the following: + For properties that have been identified by warmfront as eligible properties, characterise them by scheme. The + characterisation can be broken down as the following: + 1) The property has been identified by Warmfront and is eligible for ECO4/GBIS work, under the strictest criteria + 2) The property has been identified by Warmfront, however it has a full cavity, and therefore would be subject to + a CIGA check + 3) The property has been identified by Warmfront, but the EPC shows that the property has more than 100mm loft + insulation + 4) The property has been identified by Warmfront, but doesn't look like a property that would likely qualify under + any cirsumstances, given the available data + + Then, for any property that has NOT been identifid by Warmfront, we identify properties that look like they would + qualify under the strictest criteria, and mark these as potential additional opportunities. + + :return: + """ + pass + + def app(): """ This app contains the housign association analysis for HAs 1, 6, 14, 39 and 107. diff --git a/etl/epc/Record.py b/etl/epc/Record.py index aac22618..9fcf31ff 100644 --- a/etl/epc/Record.py +++ b/etl/epc/Record.py @@ -645,7 +645,9 @@ class EPCRecord: self.prepared_epc["construction-age-band"] = self.construction_age_band if self.age_band is None: - raise ValueError("age_band is missing") + self.age_band = "C" + self.construction_age_band = "England and Wales: 1930-1949" + self.prepared_epc["construction-age-band"] = self.construction_age_band def _clean_year_built(self): """