Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add unit to new ground elevation #319

Merged
merged 1 commit into from
May 15, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading