Skip to content

Commit

Permalink
add unit to new ground elevation (#319)
Browse files Browse the repository at this point in the history
  • Loading branch information
Santonia27 authored May 15, 2024
1 parent c7ea458 commit e0b5b47
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion hydromt_fiat/api/hydromt_fiat_vm.py
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,8 @@ def new_additional_attributes(self, config_yaml):

def new_ground_elevation(self, config_yaml):
source = config_yaml.model_extra["update_ground_elevation"].source
self.fiat_model.exposure.setup_ground_elevation(source)
unit = config_yaml.model_extra["update_ground_elevation"].unit
self.fiat_model.exposure.setup_ground_elevation(source, unit)

def new_max_potential_damages(self, config_yaml):
source = config_yaml.model_extra["update_max_potential_damage"].source
Expand Down

0 comments on commit e0b5b47

Please sign in to comment.