Skip to content

Commit

Permalink
Fix 79 schema 224 bugs (#378)
Browse files Browse the repository at this point in the history
Modify gridbuilder for requested name changes
  • Loading branch information
margrietpalm authored Sep 2, 2024
1 parent 7c42f1b commit 4022e5d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Changelog of threedigrid-builder
-------------------

- Fix for adding grid objects to include quarters attribute.
- Rename groundwater.equilibrium_infiltration_rate_type to equilibrium_infiltration_rate_aggregation


1.17.0 (2024-08-16)
Expand Down
1 change: 1 addition & 0 deletions threedigrid_builder/base/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@ def from_dict(cls, dct):
"infiltration_decay_period_aggregation": "infiltration_decay_period_type",
"initial_infiltration_rate_aggregation": "initial_infiltration_rate_type",
"phreatic_storage_capacity_aggregation": "phreatic_storage_capacity_type",
"equilibrium_infiltration_rate_aggregation": "equilibrium_infiltration_rate_type",
"max_infiltration_volume": "max_infiltration_capacity",
"max_infiltration_volume_type": "max_infiltration_capacity_type",
"manhole_aboveground_storage_area": "manhole_storage_area",
Expand Down
6 changes: 5 additions & 1 deletion threedigrid_builder/interface/db.py
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,11 @@ def get_settings(self) -> dict:
"phreatic_storage_capacity",
type_field="phreatic_storage_capacity_aggregation",
)
_set_initialization_type(groundwater, "equilibrium_infiltration_rate")
_set_initialization_type(
groundwater,
"equilibrium_infiltration_rate",
type_field="equilibrium_infiltration_rate_aggregation",
)
_set_initialization_type(
groundwater,
"initial_infiltration_rate",
Expand Down

0 comments on commit 4022e5d

Please sign in to comment.