Skip to content

Commit

Permalink
small correction in virtual model
Browse files Browse the repository at this point in the history
  • Loading branch information
panosatha committed May 15, 2024
1 parent 186e869 commit b6c9146
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions hydromt_fiat/api/hydromt_fiat_vm.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,9 +212,9 @@ def new_ground_floor_height(self, config_yaml):
self.fiat_model.exposure.setup_ground_floor_height(source, attribute_name, gfh_method, max_dist)

def new_additional_attributes(self, config_yaml):
aggregation_area_fn = config_yaml.model_extra["setup_aggregation_areas"].aggregation_area_fn
attribute_names = config_yaml.model_extra["setup_aggregation_areas"].attribute_names
label_names = config_yaml.model_extra["setup_aggregation_areas"].label_names
aggregation_area_fn = config_yaml.model_extra["setup_additional_attributes"].aggregation_area_fn
attribute_names = config_yaml.model_extra["setup_additional_attributes"].attribute_names
label_names = config_yaml.model_extra["setup_additional_attributes"].label_names
self.fiat_model.setup_additional_attributes(aggregation_area_fn, attribute_names, label_names)

def new_ground_elevation(self, config_yaml):
Expand Down

0 comments on commit b6c9146

Please sign in to comment.