Skip to content

add RESTARTFILE_APPENDIX_PREFIX to MOM_input #261

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions param_templates/MOM_input.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3709,6 +3709,15 @@ Global:
checksums will not match and cause crash.
datatype: logical
value: $TEST
RESTARTFILE_APPENDIX_PREFIX:
description: |
"default = ''
The prefix for the restart file appendix (i.e., ensemble id for ensemble
runs). If this prefix is found in the restart file name, the appendix is added
right after the first occurrence of the prefix. If not found, the appendix is
added to the end of the file name. This parameter is ignored for non-ensemble runs."
datatype: string
value: ".mom6"
KPP:
N_SMOOTH:
description: |
Expand Down
5 changes: 5 additions & 0 deletions param_templates/json/MOM_input.json
Original file line number Diff line number Diff line change
Expand Up @@ -3003,6 +3003,11 @@
"description": "\"[Boolean] default = True\nIf true, require the restart checksums to match and error out otherwise. Users\nmay want to avoid this comparison if for example the restarts are made from a\nrun with a different mask_table than the current run, in which case the\nchecksums will not match and cause crash.\n",
"datatype": "logical",
"value": "$TEST"
},
"RESTARTFILE_APPENDIX_PREFIX": {
"description": "\"default = ''\nThe prefix for the restart file appendix (i.e., ensemble id for ensemble\nruns). If this prefix is found in the restart file name, the appendix is added\nright after the first occurrence of the prefix. If not found, the appendix is\nadded to the end of the file name. This parameter is ignored for non-ensemble runs.\"\n",
"datatype": "string",
"value": ".mom6"
}
},
"KPP": {
Expand Down