Correct small bug in merge city
This commit is contained in:
parent
658c44389e
commit
5637f219f8
|
@ -459,6 +459,7 @@ class City:
|
||||||
for surface in city_object.surfaces:
|
for surface in city_object.surfaces:
|
||||||
radiation = surface.global_irradiance
|
radiation = surface.global_irradiance
|
||||||
if 'year' not in radiation and 'month' not in radiation:
|
if 'year' not in radiation and 'month' not in radiation:
|
||||||
|
|
||||||
continue
|
continue
|
||||||
elif "year" in radiation:
|
elif "year" in radiation:
|
||||||
building_radiation += radiation["year"].iloc[0]
|
building_radiation += radiation["year"].iloc[0]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user