Skip to content

Commit

Permalink
Merge pull request #161 from alperaltuntas/geom_file_param
Browse files Browse the repository at this point in the history
Introduce GEOM_FILE parameter
  • Loading branch information
alperaltuntas authored May 10, 2024
2 parents 763f2fa + 895c3ce commit c455433
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
1 change: 1 addition & 0 deletions cime_config/config_archive.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
<!-- match filenames of the form
h.static[._optional instance number].nc[.optional tile number] -->
<hist_file_extension>h\.static(\._\d*)?\.nc(\.\d*)?$</hist_file_extension>
<hist_file_extension>h\.ocean_geometry\.nc(\.\d*)?$</hist_file_extension>
<!-- Match hist extension (i.e., stream name), used to identify last file
in each stream in baseline generation within testing -->
<hist_file_ext_regex>\w+\.\w+(\._\d*)?</hist_file_ext_regex>
Expand Down
8 changes: 7 additions & 1 deletion param_templates/MOM_input.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3610,7 +3610,13 @@ Global:
datatype: list
value:
$OCN_GRID in ["tx0.66v1", "tx2_3v2", "tx0.25v1"]: True

GEOM_FILE:
description: |
default = ocean_geometry.nc
The file into which to write the ocean geometry.
datatype: string
value:
$CASE.mom6.h.ocean_geometry.nc

KPP:
N_SMOOTH:
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 @@ -2936,6 +2936,11 @@
"value": {
"$OCN_GRID in [\"tx0.66v1\", \"tx2_3v2\", \"tx0.25v1\"]": true
}
},
"GEOM_FILE": {
"description": "default = ocean_geometry.nc\nThe file into which to write the ocean geometry.\n",
"datatype": "string",
"value": "$CASE.mom6.h.ocean_geometry.nc"
}
},
"KPP": {
Expand Down

0 comments on commit c455433

Please sign in to comment.