Skip to content

Commit a16a636

Browse files
add RESTARTFILE_APPENDIX_PREFIX to MOM_input (#261)
1 parent 446228b commit a16a636

2 files changed

Lines changed: 14 additions & 0 deletions

File tree

param_templates/MOM_input.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3709,6 +3709,15 @@ Global:
37093709
checksums will not match and cause crash.
37103710
datatype: logical
37113711
value: $TEST
3712+
RESTARTFILE_APPENDIX_PREFIX:
3713+
description: |
3714+
"default = ''
3715+
The prefix for the restart file appendix (i.e., ensemble id for ensemble
3716+
runs). If this prefix is found in the restart file name, the appendix is added
3717+
right after the first occurrence of the prefix. If not found, the appendix is
3718+
added to the end of the file name. This parameter is ignored for non-ensemble runs."
3719+
datatype: string
3720+
value: ".mom6"
37123721
KPP:
37133722
N_SMOOTH:
37143723
description: |

param_templates/json/MOM_input.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3003,6 +3003,11 @@
30033003
"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",
30043004
"datatype": "logical",
30053005
"value": "$TEST"
3006+
},
3007+
"RESTARTFILE_APPENDIX_PREFIX": {
3008+
"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",
3009+
"datatype": "string",
3010+
"value": ".mom6"
30063011
}
30073012
},
30083013
"KPP": {

0 commit comments

Comments
 (0)