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

More miscellaneous runtime parameter changes for beta05 #219

Merged
merged 11 commits into from
Jan 25, 2025
103 changes: 87 additions & 16 deletions param_templates/MOM_input.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ Global:
for backward compatibility but ideally should be 0."
datatype: real
units: PPT
value:
value:
$COMP_ATM == "cam": 1.0e-6
else: 0.0
BOUND_SALINITY:
Expand Down Expand Up @@ -560,6 +560,14 @@ Global:
value:
$OCN_GRID == "tx2_3v2": "ocean_topo_tx2_3v2_240501.nc"
$OCN_GRID == "tx0.25v1": "ocean_topog.nc"
TOPO_EDITS_FILE:
description: |
"default = ''
The file from which to read a list of i,j,z topography overrides."
datatype: string
value:
$OCN_GRID == "tx2_3v2": "topo_edits_tx2_3v2_250107.nc"
$OCN_GRID == "tx0.25v1": "All_edits.nc"
MAXIMUM_DEPTH:
description: |
"[m]
Expand Down Expand Up @@ -990,7 +998,9 @@ Global:
If true, use a Laplacian horizontal viscosity."
datatype: logical
units: Boolean
value: True
value:
$OCN_GRID == "tx2_3v2": False
else: True
KH:
description: |
"[m2 s-1] default = 0.0
Expand Down Expand Up @@ -1052,6 +1062,16 @@ Global:
value:
$OCN_GRID == "tx0.25v1": 0.01
$OCN_GRID == "MISOMIP": 0.001
USE_LEITHY:
description: |
"[Boolean] default = False
If true, use a modified version of the biharmonic Leith nonlinear
eddy viscosity. This implementation can include harmonic backscatter
when LEITHY_CK > 0."
datatype: logical
units: Boolean
value:
$OCN_GRID == "tx2_3v2": False
LEITH_AH:
description: |
"[Boolean] default = False
Expand All @@ -1069,6 +1089,14 @@ Global:
units: nondim
value:
$OCN_GRID == "tx2_3v2": 128.0
LEITHY_CK:
description: |
"[nondim] default = 1.0
Fraction of biharmonic dissipation that gets backscattered, in Leith+E."
datatype: real
units: nondim
value:
$OCN_GRID == "tx2_3v2": 0.0
USE_LAND_MASK_FOR_HVISC:
description: |
"[Boolean] default = False
Expand All @@ -1080,6 +1108,15 @@ Global:
datatype: logical
units: Boolean
value: True
FRICTWORK_BUG:
description: |
"[Boolean] default = True
If true, retain an answer-changing bug in calculating the FrictWork, which
cancels the h in thickness flux and the h at velocity point. This is not
recommended."
datatype: logical
units: Boolean
value: False
HMIX_FIXED:
description: |
"[m]
Expand Down Expand Up @@ -1504,6 +1541,21 @@ Global:
value:
$OCN_GRID == "tx2_3v2": 1000.0
$OCN_GRID == "tx0.25v1": 500.0
MLE_FRONT_LENGTH_FROM_FILE:
description: |
"[Boolean] default = False
If true, the MLE front-length scale is read from a file."
datatype: logical
units: Boolean
value:
$OCN_GRID == "tx2_3v2": False
MLE_FL_FILE:
description: |
"The path to the file containing the MLE
front-length scale.."
datatype: string
value:
$OCN_GRID == "tx2_3v2": "mle-lf-clim-tx2_3v2_20250115.nc"
MLE_MLD_DECAY_TIME:
description: |
"[s] default = 0.0
Expand Down Expand Up @@ -1587,7 +1639,7 @@ Global:
datatype: real
units: m2 s-1
value:
$OCN_GRID == "tx2_3v2": 0.0
$OCN_GRID == "tx2_3v2": 1.0E-07
$OCN_GRID == "tx0.25v1": 1.5E-05
$OCN_GRID == "MISOMIP": 5.0E-05
else: 2.0E-05
Expand All @@ -1609,7 +1661,7 @@ Global:
value: # KV/KD:
$OCN_GRID == "tx0.25v1": = 1.0E-04 / 1.5E-05
$OCN_GRID == "MISOMIP": = 1.0E-04 / 5.0E-05
else: = 1.0E-04 / 2.0E-05
else: = 1.0E-06 / 1.0E-07
KD_MIN:
description: |
"[m2 s-1] default = 2.0E-07
Expand All @@ -1620,7 +1672,7 @@ Global:
datatype: real
units: m2 s-1
value:
$OCN_GRID == "tx2_3v2": 2.0E-07
$OCN_GRID == "tx2_3v2": 1.0E-07
else: 2.0E-06
INT_TIDE_DECAY_SCALE:
description: |
Expand Down Expand Up @@ -2564,7 +2616,7 @@ Global:
datatype: string
value:
$OCN_GRID == "tx0.25v1": "MOM_channels_global_025"
$OCN_GRID == "tx2_3v2": "MOM_channels_global_tx2_3v2_240501"
$OCN_GRID == "tx2_3v2": "channels_tx2_3v2_250107.txt"
SMAG_BI_CONST:
description: |
"[nondim] default = 0.0
Expand Down Expand Up @@ -2697,13 +2749,6 @@ Global:
value:
$OCN_GRID == "tx2_3v2": True
$OCN_GRID == "tx0.25v1": True
TOPO_EDITS_FILE:
description: |
"default =
The file from which to read a list of i,j,z topography overrides."
datatype: string
value:
$OCN_GRID == "tx0.25v1": "All_edits.nc"
PARALLEL_RESTARTFILES:
description: |
"[Boolean] default = False
Expand All @@ -2730,6 +2775,16 @@ Global:
units: nondim
value:
$COMP_WAV == "ww3" and $MOM6_WW3_CPL_METHOD == "most": 2.0
VISC_REM_BUG:
description: |
"[Boolean] default = True
If true, visc_rem_[uv] in split mode is incorrectly calculated or accounted
for in two places. This parameter controls the defaults of two individual
flags, VISC_REM_TIMESTEP_BUG in MOM_dynamics_split_RK2(b) and
VISC_REM_BT_WEIGHT_BUG in MOM_barotropic."
datatype: logical
units: Boolean
value: False

# MISOMIP-only variables:

Expand Down Expand Up @@ -3150,7 +3205,7 @@ Global:
datatype: real
units: m2 s-1
value:
$OCN_GRID == "tx2_3v2": 0.0
$OCN_GRID == "tx2_3v2": 1.0E-06
else: 1.0E-04
KV_BBL_MIN:
description: |
Expand Down Expand Up @@ -3698,6 +3753,22 @@ KPP:
If True, use Stokes Similarity package.
datatype: logical
value:
$COMP_WAV == "ww3" and $MOM6_WW3_CPL_METHOD == "most": True

$COMP_WAV == "ww3" and $MOM6_WW3_CPL_METHOD == "most": True
COMPUTE_MONIN_OBUKHOV:
description: |
default = False
If True, limit the OBL depth to be no deeper than Monin-Obukhov depth.
datatype: logical
units: Boolean
value:
$OCN_GRID == "tx2_3v2": True
MINIMUM_OBL_DEPTH:
description: |
"[m] default = 0.0
If non-zero, a minimum depth to use for KPP OBL depth. Independent of this
parameter, the OBL depth is always at least as deep as the first layer."
datatype: real
value:
$OCN_GRID == "tx2_3v2": 2.5
...

5 changes: 4 additions & 1 deletion param_templates/input_data_list.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ mom.input_data_list:
$OCN_GRID == "tx2_3v2": "${INPUTDIR}/ocean_topo_tx2_3v2_240501.nc"
$OCN_GRID == "tx0.25v1": "${INPUTDIR}/ocean_topog.nc"
TOPO_EDITS_FILE:
$OCN_GRID == "tx2_3v2": "${INPUTDIR}/topo_edits_tx2_3v2_250107.nc"
$OCN_GRID == "tx0.25v1": "${INPUTDIR}/All_edits.nc"
TEMP_SALT_Z_INIT_FILE:
$OCN_GRID in ["tx2_3v2", "tx0.25v1"]:
Expand All @@ -34,14 +35,16 @@ mom.input_data_list:
$OCN_GRID == "tx2_3v2": "${INPUTDIR}/energy_new_tx2_3_conserve_230415_cdf5.nc"
$OCN_GRID == "tx0.25v1": "${INPUTDIR}/tidal_amplitude.v20140616.nc"
CHANNEL_LIST_FILE:
$OCN_GRID == "tx2_3v2": "${INPUTDIR}/MOM_channels_global_tx2_3v2_240501"
$OCN_GRID == "tx2_3v2": "${INPUTDIR}/channels_tx2_3v2_250107.txt"
$OCN_GRID == "tx0.25v1": "${INPUTDIR}/MOM_channels_global_025"
GEOTHERMAL_FILE:
$OCN_GRID == "tx2_3v2": "${INPUTDIR}/geothermal_davies2013_tx2_3_20240318_cdf5.nc"
$OCN_GRID == "tx0.25v1": "${INPUTDIR}/geothermal_davies2013_v1.nc"
CHL_FILE:
$OCN_GRID == "tx0.25v1": "${INPUTDIR}/seawifs-clim-1997-2010.1440x1080.v20180328.nc"
$OCN_GRID == "tx2_3v2": "${INPUTDIR}/seawifs-clim-1997-2010-tx2_3v2.230416.nc"
MLE_FL_FILE:
$OCN_GRID == "tx2_3v2": "${INPUTDIR}/mle-lf-clim-tx2_3v2_20250115.nc"
CFC_BC_FILE: "${DIN_LOC_ROOT}/ocn/mom/grid_indpt/cfc_atm_20230310.nc"
DIAG_COORD_DEF_RHO2:
$OCN_GRID == "tx2_3v2": "${INPUTDIR}/ocean_rho2_190917.nc"
Expand Down
Loading
Loading