Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into 506-om3-restart-pru…
Browse files Browse the repository at this point in the history
…ning
  • Loading branch information
anton-seaice committed Feb 11, 2025
2 parents 0a0b81b + 2241178 commit 065bfa1
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions payu/models/cesm_cmeps.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,13 +166,7 @@ def setup(self):

# run checks on nuopc.runfig
self._setup_checks()

# Ensure that restarts will be written at the end of each run
stop_n = self.runconfig.get("CLOCK_attributes", "stop_n")
stop_option = self.runconfig.get("CLOCK_attributes", "stop_option")
self.runconfig.set("CLOCK_attributes", "restart_n", stop_n)
self.runconfig.set("CLOCK_attributes", "restart_option", stop_option)


mkdir_p(os.path.join(self.work_path, 'log'))
mkdir_p(os.path.join(self.work_path, 'timing'))

Expand Down

0 comments on commit 065bfa1

Please sign in to comment.