mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
Added missing orientations
This commit is contained in:
parent
4192ee7d69
commit
78066563ce
2 changed files with 9 additions and 2 deletions
|
|
@ -650,10 +650,14 @@ class XmlParser:
|
|||
}
|
||||
|
||||
orientation_lookup = {
|
||||
"3": "East",
|
||||
"5": "South",
|
||||
"1": "North",
|
||||
"2": "North East",
|
||||
"3": "East",
|
||||
"4": "South East",
|
||||
"5": "South",
|
||||
"6": "South West",
|
||||
"7": "West",
|
||||
"8": "North West"
|
||||
}
|
||||
|
||||
self.windows = [
|
||||
|
|
|
|||
|
|
@ -42,6 +42,9 @@ def main():
|
|||
|
||||
logger.info(f"Exatracted XMLS for the energy assessments")
|
||||
|
||||
# TODO: IF we have many uploads, we can do them in a batch so we don't try and upload huge amounts of data to
|
||||
# the database at onece
|
||||
|
||||
# For each property, we download the xmls and extract the data
|
||||
database_data = []
|
||||
for uprn, xmls in assessments_map.items():
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue