Skip to content

Commit

Permalink
create Building_footprints output folder
Browse files Browse the repository at this point in the history
  • Loading branch information
Santonia27 committed Dec 12, 2023
1 parent e753f94 commit d45d754
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions hydromt_fiat/fiat.py
Original file line number Diff line number Diff line change
Expand Up @@ -747,8 +747,6 @@ def setup_aggregation_areas(
shutil.copy2(aggregation_area_fn, additional_att)


# TODO loop over file names and copy into self.root (create directory (aggregation and BF))

def setup_building_footprint(
self,
building_footprint_fn: Union[str, Path],
Expand All @@ -774,7 +772,10 @@ def setup_building_footprint(
building_footprint_fn,
attribute_name,
)
# TODO: loop over file names and copy into self.root (create directory (aggregation and BF))
building_footprints = Path(self.root).joinpath("output" , "building_footprints")
if not os.path.exists(building_footprints):
os.makedirs(building_footprints)
shutil.copy2(building_footprint_fn, building_footprints)

# Update functions
def update_all(self):
Expand Down

0 comments on commit d45d754

Please sign in to comment.