Revised list comprehension to explicity loop for clarity, created defaultdict objects and assigned message name & code for each 'flag' with each set of 'flags' per building appended to a list for the 'site' (community)
Revised list comprehension to explicity loop for clarity, created defaultdict objects and assigned message name & code for each 'flag' with each set of 'flags' per building appended to a list for the 'site' (community)

eayoungs/DeltaMtrSvs,eayoungs/DeltaMtrSvs