Skip to content

Commit

Permalink
Add optional soil.nml and pft_params.nml for esm1p6
Browse files Browse the repository at this point in the history
  • Loading branch information
blimlim committed Feb 18, 2025
1 parent c452587 commit 7bf514d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions payu/models/access_esm1p6.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,12 @@ def __init__(self, expt, name, config):
# Simulation length in seconds for new run
model.runtime_key = "runtime"

if model.model_type == 'um':
# Additional Cable 3 namelists
model.optional_config_files = list(
set(['pft_params.nml', 'soil.nml']) |
set(model.optional_config_files)
)

def setup(self):
if not self.top_level_model:
Expand Down
2 changes: 1 addition & 1 deletion payu/models/um.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def __init__(self, expt, name, config):
'STASHC', 'UAFILES_A', 'UAFLDS_A',
'cable.nml', 'um_env.yaml'
]
self.optional_config_files = ['input_atm.nml', 'parexe']
self.optional_config_files.extend(['input_atm.nml', 'parexe'])

self.restart = 'restart_dump.astart'

Expand Down

0 comments on commit 7bf514d

Please sign in to comment.