Skip to content

Commit

Permalink
Fix UseStartEnd in restart run.
Browse files Browse the repository at this point in the history
  • Loading branch information
xylar committed Dec 10, 2024
1 parent 6cf0195 commit 089a5d1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions polaris/ocean/tasks/cosine_bell/restart/forward.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ Omega:
FreqUnits: {{ init_freq_units }}
RestartRead:
UsePointerFile: false
UseStartEnd: {{ not_restart }}
Filename: ../restarts/rst.$Y-$M-$D_$h.$m.$s
StartTime: {{ restart_time }}
RestartWrite:
Expand Down
1 change: 1 addition & 0 deletions polaris/ocean/tasks/cosine_bell/restart/restart_step.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ def dynamic_model_config(self, at_setup):
package = 'polaris.ocean.tasks.cosine_bell.restart'
replacements = dict(
do_restart=do_restart,
not_restart=not do_restart,
start_time=start_time_str,
run_duration=run_duration_str,
output_interval=output_interval_str,
Expand Down

0 comments on commit 089a5d1

Please sign in to comment.