Skip to content

Commit

Permalink
hotfix for ntiles in driver dycore config for doubly periodic runs
Browse files Browse the repository at this point in the history
  • Loading branch information
oelbert committed Feb 29, 2024
1 parent 49e2720 commit 5cd03ca
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions driver/pace/driver/driver.py
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,8 @@ def from_dict(cls, kwargs: Dict[str, Any]) -> "DriverConfig":
# Copy grid_type to the DycoreConfig if it's not the default value
if grid_type != 0:
kwargs["dycore_config"].grid_type = grid_type
if grid_type > 3:
kwargs["dycore_config"].ntiles = 1

if (
isinstance(kwargs["stencil_config"], dict)
Expand Down

0 comments on commit 5cd03ca

Please sign in to comment.