Skip to content

Commit c6ab817

Browse files
committed
Update docs based on files produced in 44cea06
1 parent 44cea06 commit c6ab817

File tree

4 files changed

+52
-13
lines changed

4 files changed

+52
-13
lines changed

docs/MOM_parameter_doc.all

Lines changed: 43 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,14 @@ BATHYMETRY_AT_VEL = False ! [Boolean] default = False
6060
! If true, there are separate values for the basin depths at velocity points.
6161
! Otherwise the effects of topography are entirely determined from thickness
6262
! points.
63+
ENABLE_BUGS_BY_DEFAULT = True ! [Boolean] default = True
64+
! If true, the defaults for certain recently added bug-fix flags are set to
65+
! recreate the bugs so that the code can be moved forward without changing
66+
! answers for existing configurations. The defaults for groups of bug-fix flags
67+
! are periodcially changed to correct the bugs, at which point this parameter
68+
! will no longer be used to set their default. Setting this to false means that
69+
! bugs are only used if they are actively selected, but it also means that
70+
! answers may change when code is updated due to newly found bugs.
6371
DT = 600.0 ! [s]
6472
! The (baroclinic) dynamics time step. The time-step that is actually used will
6573
! be an integer fraction of the forcing time-step (DT_FORCING in ocean-only mode
@@ -85,14 +93,11 @@ TRADV_SPANS_COUPLING = True ! [Boolean] default = True
8593
! the coupling timestep. The actual tracer advection timestep that is used in
8694
! this case is the largest integer multiple of the coupling timestep that is
8795
! less than or equal to DT_TRACER_ADVECT.
88-
THICKNESSDIFFUSE = True ! [Boolean] default = False
96+
THICKNESSDIFFUSE = False ! [Boolean] default = False
8997
! If true, isopycnal surfaces are diffused with a Laplacian coefficient of KHTH.
9098
APPLY_INTERFACE_FILTER = False ! [Boolean] default = False
9199
! If true, model interface heights are subjected to a grid-scale dependent
92100
! spatial smoothing, often with biharmonic filter.
93-
THICKNESSDIFFUSE_FIRST = True ! [Boolean] default = False
94-
! If true, do thickness diffusion or interface height smoothing before dynamics.
95-
! This is only used if THICKNESSDIFFUSE or APPLY_INTERFACE_FILTER is true.
96101
HMIX_SFC_PROP = 1.0 ! [m] default = 1.0
97102
! If BULKMIXEDLAYER is false, HMIX_SFC_PROP is the depth over which to average
98103
! to find surface properties like SST and SSS or density (but not surface
@@ -329,6 +334,8 @@ OBC_TIDE_N_CONSTITUENTS = 0 ! default = 0
329334
EXTERIOR_OBC_BUG = True ! [Boolean] default = True
330335
! If true, recover a bug in barotropic solver and other routines when boundary
331336
! contitions interior to the domain are used.
337+
OBC_HOR_INDEXING_BUG = True ! [Boolean] default = True
338+
! If true, recover set of a horizontal indexing bugs in the OBC code.
332339
OBC_SEGMENT_001 = "J=N,I=N:0,FLATHER,ORLANSKI,NUDGED" !
333340
! Documentation needs to be dynamic?????
334341
OBC_SEGMENT_001_VELOCITY_NUDGING_TIMESCALES = 0.3, 360.0 ! [days]
@@ -440,6 +447,13 @@ DTFREEZE_DS = -0.054 ! [degC ppt-1] default = -0.054
440447
DTFREEZE_DP = -7.75E-08 ! [degC Pa-1] default = 0.0
441448
! When TFREEZE_FORM=LINEAR, this is the derivative of the freezing potential
442449
! temperature with pressure.
450+
TFREEZE_S_IS_PRACS = True ! [Boolean] default = True
451+
! When True, the model will check if the model internal salinity is practical
452+
! salinity. If the model uses absolute salinity, a conversion will be applied.
453+
TFREEZE_T_IS_POTT = True ! [Boolean] default = True
454+
! When True, the model will check if the model internal temperature is potential
455+
! temperature. If the model uses conservative temperature, a conversion will be
456+
! applied.
443457

444458
! === module MOM_restart ===
445459
PARALLEL_RESTARTFILES = False ! [Boolean] default = False
@@ -769,6 +783,10 @@ ODA_INCUPD = False ! [Boolean] default = False
769783
SPONGE = False ! [Boolean] default = False
770784
! If true, sponges may be applied anywhere in the domain. The exact location and
771785
! properties of those sponges are specified via SPONGE_CONFIG.
786+
OBC_RESERVOIR_INIT_BUG = True ! [Boolean] default = True
787+
! If true, set the OBC tracer reservoirs at the startup of a new run from the
788+
! interior tracer concentrations regardless of properties that may be explicitly
789+
! specified for the reservoir concentrations.
772790
OBC_SEGMENT_001_DATA = "U=file:forcing_access_yr2_8km_fill.nc(u),V=file:forcing_access_yr2_8km_fill.nc(v),SSH=file:forcing_access_yr2_8km_fill.nc(eta_t),TEMP=file:forcing_access_yr2_8km_fill.nc(pot_temp),SALT=file:forcing_access_yr2_8km_fill.nc(salt)" !
773791
! OBC segment docs
774792
OBC_USER_CONFIG = "none" ! default = "none"
@@ -902,9 +920,6 @@ BACKSCAT_EBT_POWER = 0.0 ! [nondim] default = 0.0
902920
BS_USE_SQG_STRUCT = False ! [Boolean] default = False
903921
! If true, the SQG vertical structure is used for backscatter on the condition
904922
! that BS_EBT_power=0
905-
SQG_EXPO = 1.0 ! [nondim] default = 1.0
906-
! Nondimensional exponent coeffecient of the SQG mode that is used for the
907-
! vertical struture of diffusivities.
908923
KHTH_USE_EBT_STRUCT = False ! [Boolean] default = False
909924
! If true, uses the equivalent barotropic structure as the vertical structure of
910925
! thickness diffusivity.
@@ -939,6 +954,10 @@ VERY_SMALL_FREQUENCY = 1.0E-17 ! [s-1] default = 1.0E-17
939954
USE_STANLEY_ISO = False ! [Boolean] default = False
940955
! If true, turn on Stanley SGS T variance parameterization in isopycnal slope
941956
! code.
957+
MIXING_COEFS_OBC_BUG = True ! [Boolean] default = True
958+
! If false, use only interior data for thickness weighting in lateral mixing
959+
! coefficient calculations and to calculate stratification and other fields at
960+
! open boundary condition faces.
942961
KD_SMOOTH = 1.0E-06 ! [m2 s-1] default = 1.0E-06
943962
! A diapycnal diffusivity that is used to interpolate more sensible values of T
944963
! & S into thin layers.
@@ -1934,6 +1953,11 @@ VERTEX_SHEAR = True ! [Boolean] default = False
19341953
VERTEX_SHEAR_VISCOSITY_BUG = True ! [Boolean] default = True
19351954
! If true, use a bug in vertex shear that zeros out viscosities at vertices on
19361955
! coastlines.
1956+
VERTEX_SHEAR_OBC_BUG = True ! [Boolean] default = True
1957+
! If false, use extra masking when interpolating thicknesses to velocity points
1958+
! for setting up the shear velocities at vertices to avoid using external
1959+
! thicknesses at open boundaries. When OBCs are not in use, this parameter does
1960+
! not change answers, but true is more efficient.
19371961
VERTEX_SHEAR_GEOMETRIC_MEAN = False ! [Boolean] default = False
19381962
! If true, use a geometric mean for moving diffusivity from vertices to tracer
19391963
! points. False uses algebraic mean.
@@ -2201,6 +2225,14 @@ LT_MOD_LAC4 = 0.0 ! [nondim] default = 0.95
22012225
LT_MOD_LAC5 = 0.22 ! [nondim] default = 0.95
22022226
! Coefficient for modification of Langmuir number due to ratio of Ekman to
22032227
! unstable Obukhov depth.
2228+
EPBL_EQD_DIFFUSIVITY_SHAPE = False ! [nondim] default = False
2229+
! Logical flag for activating ML equation for shape function that uses forcing
2230+
! to change its structure.
2231+
EPBL_EQD_DIFFUSIVITY_VELOCITY = False ! [nondim] default = False
2232+
! Logical flag for activating ML equation discovery for velocity scale
2233+
EPBL_EQD_DIFFUSIVITY_VELOCITY_H = False ! [nondim] default = False
2234+
! Logical flag for activating ML equation discovery for velocity scale with h as
2235+
! input
22042236
EPBL_OPTIONS_DIFF = 0 ! default = 0
22052237
! If positive, this is a coded integer indicating a pair of settings whose
22062238
! differences are diagnosed in a passive diagnostic mode via extra calls to
@@ -2260,7 +2292,8 @@ KHTR = 0.0 ! [m2 s-1] default = 0.0
22602292
KHTR_MIN = 0.0 ! [m2 s-1] default = 0.0
22612293
! The minimum along-isopycnal tracer diffusivity.
22622294
KHTR_MAX = 0.0 ! [m2 s-1] default = 0.0
2263-
! The maximum along-isopycnal tracer diffusivity.
2295+
! The maximum along-isopycnal tracer diffusivity. Set to a positive value to
2296+
! activate.
22642297
KHTR_PASSIVITY_COEFF = 0.0 ! [nondim] default = 0.0
22652298
! The coefficient that scales deformation radius over grid-spacing in passivity,
22662299
! where passivity is the ratio between along isopycnal mixing of tracers to
@@ -2317,6 +2350,8 @@ ENERGYFILE = "ocean.stats" ! default = "ocean.stats"
23172350
! The file to use to write the energies and globally summed diagnostics.
23182351
DATE_STAMPED_STDOUT = True ! [Boolean] default = True
23192352
! If true, use dates (not times) in messages to stdout
2353+
ISO_DATE_STAMPED_STDOUT = False ! [Boolean] default = False
2354+
! If true, use ISO formatted dates in messages to stdout
23202355
TIMEUNIT = 8.64E+04 ! [s] default = 8.64E+04
23212356
! The time unit in seconds a number of input fields
23222357
READ_DEPTH_LIST = False ! [Boolean] default = False

docs/MOM_parameter_doc.debugging

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,18 @@ DEBUG = False ! [Boolean] default = False
3636
! If true, write out verbose debugging data.
3737
DEBUG_TRUNCATIONS = False ! [Boolean] default = False
3838
! If true, calculate all diagnostics that are useful for debugging truncations.
39+
DEBUG_OBCS = False ! [Boolean] default = False
40+
! If true, write out verbose debugging data about OBCs.
3941
ROTATE_INDEX = False ! [Boolean] default = False
4042
! Enable rotation of the horizontal indices.
4143
DEBUG_CHKSUMS = False ! [Boolean] default = False
4244
! If true, checksums are performed on arrays in the various vec_chksum routines.
4345
DEBUG_REDUNDANT = False ! [Boolean] default = False
4446
! If true, debug redundant data points during calls to the various vec_chksum
4547
! routines.
48+
OBC_DEBUGGING_TESTS = False ! [Boolean] default = False
49+
! If true, do additional calls resetting certain values to help verify the
50+
! correctness of the open boundary condition code.
4651

4752
! === module MOM_verticalGrid ===
4853
! Parameters providing information about the vertical grid.

docs/MOM_parameter_doc.layout

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,10 @@ BT_USE_WIDE_HALOS = True ! [Boolean] default = True
6767
! efficiency.
6868
BTHALO = 0 ! default = 0
6969
! The minimum halo size for the barotropic solver.
70+
BT_WIDE_HALO_MIN_STENCIL = 0 ! default = 0
71+
! The minimum stencil width to use with the wide halo iterations. A nonzero
72+
! value may be useful for debugging purposes, but at the cost of reducing the
73+
! efficiency gain from BT_USE_WIDE_HALOS.
7074
!BT x-halo = 4 !
7175
! The barotropic x-halo size that is actually used.
7276
!BT y-halo = 4 !

docs/MOM_parameter_doc.short

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,6 @@ THERMO_SPANS_COUPLING = True ! [Boolean] default = False
1818
! coupling timestep. The actual thermodynamic timestep that is used in this case
1919
! is the largest integer multiple of the coupling timestep that is less than or
2020
! equal to DT_THERM.
21-
THICKNESSDIFFUSE = True ! [Boolean] default = False
22-
! If true, isopycnal surfaces are diffused with a Laplacian coefficient of KHTH.
23-
THICKNESSDIFFUSE_FIRST = True ! [Boolean] default = False
24-
! If true, do thickness diffusion or interface height smoothing before dynamics.
25-
! This is only used if THICKNESSDIFFUSE or APPLY_INTERFACE_FILTER is true.
2621
HFREEZE = 10.0 ! [m] default = -1.0
2722
! If HFREEZE > 0, melt potential will be computed. The actual depth over which
2823
! melt potential is computed will be min(HFREEZE, OBLD), where OBLD is the

0 commit comments

Comments
 (0)