[Bugfix] - During normalization of assets estimate floor space if no number of stories is given
The estimation of floor space of a building requires the footprint size and the number of stories. In function normalize_assets
, the number of stories of the respective building is either taken from the building data record or, if not available, from the taxonomy data of the building. However, the definition of the height of the building is not mandatory in the GEM Taxonomy and we encountered taxonomy strings in the Philippines without the height attribute. In this case, Finalizer is crashing when attempting to compute the floor space.
An easy solution is to check for the availability of the height attribute in each taxonomy string and, in case it does not exist, assume a height of 1 story for that building type.