Skip to content
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

Introduce GEOM_FILE parameter #161

Merged
merged 1 commit into from
May 10, 2024
Merged
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
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