Skip to content

Commit

Permalink
update surroundings helper
Browse files Browse the repository at this point in the history
  • Loading branch information
ShiZhongming committed Dec 21, 2024
1 parent fb721fa commit 6185452
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
4 changes: 1 addition & 3 deletions cea/datamanagement/surroundings_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,8 +150,6 @@ def geometry_extractor_osm(locator, config):

# local variables:
buffer_m = config.surroundings_helper.buffer
buildings_height = config.surroundings_helper.height_ag
buildings_floors = config.surroundings_helper.floors_ag
shapefile_out_path = locator.get_surroundings_geometry()
zone = gdf.from_file(locator.get_zone_geometry())

Expand Down Expand Up @@ -179,7 +177,7 @@ def geometry_extractor_osm(locator, config):
result = generate_empty_surroundings(surroundings.crs)
else:
# clean attributes of height, name and number of floors
result = clean_attributes(surroundings, buildings_height, buildings_floors, key="CEA")
result = clean_attributes(surroundings, key="CEA")
result = result.to_crs(get_projected_coordinate_system(float(lat), float(lon)))
result = clean_geometries(result)

Expand Down
1 change: 0 additions & 1 deletion cea/demand/occupancy_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
import cea.utilities.parallel
from cea.constants import HOURS_IN_YEAR, MONTHS_IN_YEAR
from cea.datamanagement.schedule_helper import read_cea_schedule
from cea.datamanagement.data_migrator import is_3_22
from cea.demand.building_properties import calc_useful_areas
from cea.demand.constants import VARIABLE_CEA_SCHEDULE_RELATION
from cea.utilities import epwreader
Expand Down

0 comments on commit 6185452

Please sign in to comment.