Skip to content

Commit

Permalink
added restart capabilities
Browse files Browse the repository at this point in the history
  • Loading branch information
alicebarthel committed Mar 27, 2024
1 parent 3b38436 commit 96beb9d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions compass/ocean/tests/baroclinic_gyre/forward.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,3 +105,8 @@ def run(self):
Run this step of the test case
"""
run_model(self, partition_graph=True)

if self.name == '3_year_test':
replacements = {'config_do_restart': '.true.',
'config_start_time': "'file'"}
self.update_namelist_at_runtime(replacements)

0 comments on commit 96beb9d

Please sign in to comment.