manually created non-invasie notes

This commit is contained in:
Khalim Conn-Kowlessar 2024-04-13 15:36:58 +01:00
parent d8caacae97
commit a158f2353c

View file

@ -43,9 +43,17 @@ def app():
# "/Users/khalimconn-kowlessar/Downloads/IMMO - Dudley Pilot - non-invasive raw data/21 Wells Rd DY5 3TB/"
# "IMMO - 21 Wells Road Brierley Hill DY5 3TB.msg"
# )
# filepath = (
# "/Users/khalimconn-kowlessar/Downloads/IMMO - Dudley Pilot - non-invasive raw data/47 Fairfield Rd DY8 "
# "5UJ/IMMO - 47 Fairfield Road Wordsley Stourbridge DY8 5UJ.msg"
# )
# filepath = (
# "/Users/khalimconn-kowlessar/Downloads/IMMO - Dudley Pilot - non-invasive raw data/91 Osprey Drive DY1 "
# "2JS/IMMO - 91 Osprey Drive Dudley DY1 2JS.msg"
# )
filepath = (
"/Users/khalimconn-kowlessar/Downloads/IMMO - Dudley Pilot - non-invasive raw data/47 Fairfield Rd DY8 "
"5UJ/IMMO - 47 Fairfield Road Wordsley Stourbridge DY8 5UJ.msg"
"/Users/khalimconn-kowlessar/Downloads/IMMO - Dudley Pilot - non-invasive raw data/195 Ashenhurst Rd DY1 "
"2JB/IMMO - 195 Ashenhurst Road Dudley DY1 2JB.msg"
)
with extract_msg.Message(filepath) as msg:
@ -119,13 +127,50 @@ def app():
'Access to mains?': 'Property has access to the mains',
},
{
'address': None,
'postcode': None,
'address': '53 Bromley',
'postcode': 'DY5 4PJ',
'Surveyor': 'Carl Fitzgerald - The Warmfront Team',
'Wall Insulation': None,
'Wall Render': None,
'Existing solar PV': None,
'Orientation': None,
'Access to mains?': None,
'Wall Insulation': "Filled at build, partially filled - celotex/king board, 50mm cavity remaining - "
"recommends a cavity wall fill",
"Roof": "Hipped roof",
'Existing solar PV': 'No existing solar',
'Orientation': "Front house direction: North, Back house direction: South, Side house direction: West",
'Access to mains?': 'Property has access to the mains',
},
{
'address': '91 Osprey Drive',
'postcode': 'DY1 2JS',
'Surveyor': 'Carl Fitzgerald - The Warmfront Team',
'Wall Insulation': 'Cavity wall, retro drilled, containing loose fibre insulation. Consider getting a '
'CIGA check and extracting the cavity, replacing with bead insulation.',
'Wall Render': 'Tile hung front and rear of property',
'Existing solar PV': 'No existing solar',
'Orientation': 'Side house direction: East',
'Access to mains?': 'Property has access to the mains',
},
{
'address': '150 Huntingtree Road',
'postcode': 'B63 4HP',
'Surveyor': 'Carl Fitzgerald - The Warmfront Team',
'Heating': 'Electric (storage heaters)',
'Wall Insulation': 'Cavity wall, retro drilled, containing loose fibre insulation. Consider getting a '
'CIGA check and extracting the cavity, replacing with bead insulation.',
"Roof": "Hipped roof",
'Existing solar PV': 'No existing solar',
'Orientation': "Front house direction: North West, Back house direction: South East, Side house direction: "
"North East",
},
{
'address': '195 Ashenhurst Road',
'postcode': 'DY1 2JB',
'Surveyor': 'Carl Fitzgerald - The Warmfront Team',
'Wall Insulation': 'Cavity wall, retro drilled, containing loose fibre insulation. Consider getting a '
'CIGA check and extracting the cavity, replacing with bead insulation.',
'Wall Render': "Solid render front and rear of property",
'Existing solar PV': 'No existing solar',
'Orientation': 'Front house direction: South, Back house direction: North',
'Access to mains?': 'Property has access to the mains',
},
]
# TODO: Push the non-invasive results straight to the database from here