Skip to content

Commit e102e7b

Browse files
committed
Add WRITE_GEOM from ufs-community#3065
1 parent d27dfe0 commit e102e7b

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

tests/default_vars.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1656,6 +1656,7 @@ export_mom6() {
16561656
export MOM6_USE_LI2016=True
16571657
export MOM6_TOPOEDITS=''
16581658
export MOM6_HFREEZE=20.0
1659+
export MOM6_WRITE_GEOM=2
16591660
# since CPL_SLOW is set to DT_THERM, this should be always be false
16601661
export MOM6_THERMO_SPAN=False
16611662
export MOM6_USE_WAVES=True

tests/parm/MOM_input_025.IN

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ DEFAULT_ANSWER_DATE = 20250818 ! default = 99991231
104104
! This sets the default value for the various _ANSWER_DATE parameters.
105105
WAVE_INTERFACE_ANSWER_DATE = 20230101
106106

107-
WRITE_GEOM = 2 ! default = 1
107+
WRITE_GEOM = @[MOM6_WRITE_GEOM] ! default = 1
108108
! If =0, never write the geometry and vertical grid files. If =1, write the
109109
! geometry and vertical grid files only for a new simulation. If =2, always
110110
! write the geometry and vertical grid files. Other values are invalid.

tests/parm/MOM_input_050.IN

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ BAD_VAL_SST_MIN = -3.0 ! [deg C] default = -2.1
103103
DEFAULT_ANSWER_DATE = 20250818 ! default = 99991231
104104
! This sets the default value for the various _ANSWER_DATE parameters.
105105
WAVE_INTERFACE_ANSWER_DATE = 20230101
106-
WRITE_GEOM = 2 ! default = 1
106+
WRITE_GEOM = @[MOM6_WRITE_GEOM] ! default = 1
107107
! If =0, never write the geometry and vertical grid files. If =1, write the
108108
! geometry and vertical grid files only for a new simulation. If =2, always
109109
! write the geometry and vertical grid files. Other values are invalid.

tests/parm/MOM_input_100.IN

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ BAD_VAL_SST_MIN = -3.0 ! [deg C] default = -2.1
7575
DEFAULT_ANSWER_DATE = 20250818 ! default = 99991231
7676
! This sets the default value for the various _ANSWER_DATE parameters.
7777
WAVE_INTERFACE_ANSWER_DATE = 20230101
78-
WRITE_GEOM = 2 ! default = 1
78+
WRITE_GEOM = @[MOM6_WRITE_GEOM] ! default = 1
7979
! If =0, never write the geometry and vertical grid files. If =1, write the
8080
! geometry and vertical grid files only for a new simulation. If =2, always
8181
! write the geometry and vertical grid files. Other values are invalid.

0 commit comments

Comments
 (0)