Skip to content

Commit 0ee4604

Browse files
yichengt900uwagura
andauthored
Update NEP10.COBALT Example and Add NEP10 XML Based on MOM6-COBALT-NEP10k v1.0 Configurations (NOAA-GFDL#105)
* Updated NEP10 and NWA12 examples. Added NEP10 xml * activate NEP10.COBALT CI testing --------- Co-authored-by: uwagura <36386988+uwagura@users.noreply.github.com>
1 parent 9aa885d commit 0ee4604

27 files changed

+2984
-414
lines changed

.github/workflows/CEFI_MOM6_c6-ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060
strategy:
6161
max-parallel: 2
6262
matrix:
63-
case: ["NWA12.COBALT"] #["NWA12.COBALT", "NEP10.COBALT"]
63+
case: ["NWA12.COBALT", "NEP10.COBALT"]
6464
steps:
6565
- name: Run Experiment ${{ matrix.case }}
6666
run: |

exps/NEP10.COBALT/COBALT_parameter_doc.all

Lines changed: 183 additions & 186 deletions
Large diffs are not rendered by default.

exps/NEP10.COBALT/COBALT_parameter_doc.short

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,3 @@
44
do_case2_mod = True ! [Boolean] default = False
55
! When true, modify the opacity of case 2 (coastal) waterswhich are identified
66
! based on a salinity and depth threshold
7-
scale_burial = 1.0 ! [none] default = 0.0
8-
! scaling factor for particulate organic burial
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1+
! Put the contents of your COBALT_input file here
12
do_case2_mod = True
Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,6 @@
1-
#override scale_burial = 1.0
1+
! Put the contents of your COBALT_override file here.
2+
! For parameters which are not specified in the COBALT_input file, just set the new value, ex:
3+
! do_case2_mod = True
4+
! For parameters which are specified in the COBALT_input file, specify an override, ex:
5+
!#override do_case2_mod = True
6+
!#override scale_burial = 1.0

exps/NEP10.COBALT/INPUT/MOM_input

Lines changed: 42 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@
1313

1414
! === module MOM_unit_scaling ===
1515
! Parameters for doing unit scaling of variables.
16-
DIABATIC_FIRST = True ! [Boolean] default = False
16+
DIABATIC_FIRST = False ! [Boolean] default = False
1717
! If true, apply diabatic and thermodynamic processes, including buoyancy
1818
! forcing and mass gain or loss, before stepping the dynamics forward.
1919
USE_REGRIDDING = True ! [Boolean] default = False
2020
! If True, use the ALE algorithm (regridding/remapping). If False, use the
2121
! layered isopycnal algorithm.
22-
REMAP_AUXILIARY_VARS = False ! [Boolean] default = False
22+
REMAP_AUXILIARY_VARS = True ! [Boolean] default = False
2323
! If true, apply ALE remapping to all of the auxiliary 3-dimensional variables
2424
! that are needed to reproduce across restarts, similarly to what is already
2525
! being done with the primary state variables. The default should be changed to
@@ -185,6 +185,14 @@ OBC_SEGMENT_004_VELOCITY_NUDGING_TIMESCALES = 3, 360.0 ! [days] default = 0.0
185185
! velocities.
186186
BRUSHCUTTER_MODE = True ! [Boolean] default = False
187187
! If true, read external OBC data on the supergrid.
188+
OBC_REMAPPING_USE_OM4_SUBCELLS = False ! [Boolean] default = True
189+
! If true, use the OM4 remapping-via-subcells algorithm for neutral diffusion.
190+
! See REMAPPING_USE_OM4_SUBCELLS for more details. We recommend setting this
191+
! option to false.
192+
OBC_REMAPPING_USE_OM4_SUBCELLS = False ! [Boolean] default = True
193+
! If true, use the OM4 remapping-via-subcells algorithm for neutral diffusion.
194+
! See REMAPPING_USE_OM4_SUBCELLS for more details. We recommend setting this
195+
! option to false.
188196
MASKING_DEPTH = 1.0 ! [m] default = -9999.0
189197
! The depth below which to mask points as land points, for which all
190198
! fluxes are zeroed out. MASKING_DEPTH is ignored if negative.
@@ -292,7 +300,14 @@ REMAPPING_SCHEME = "PPM_H4" ! default = "PLM"
292300
! PPM_IH4 (3rd-order accurate)
293301
! PQM_IH4IH3 (4th-order accurate)
294302
! PQM_IH6IH5 (5th-order accurate)
295-
303+
INIT_BOUNDARY_EXTRAP = False ! [Boolean] default = False
304+
! If true, values at the interfaces of boundary cells are extrapolated instead
305+
! of piecewise constant during initialization.Defaults to REMAP_BOUNDARY_EXTRAP.
306+
REMAPPING_USE_OM4_SUBCELLS = False ! [Boolean] default = True
307+
! This selects the remapping algorithm used in OM4 that does not use the full
308+
! reconstruction for the top- and lower-most sub-layers, but instead assumes
309+
! they are always vanished (untrue) and so just uses their edge values. We
310+
! recommend setting this option to false.
296311
! === module MOM_grid ===
297312
! Parameters providing information about the lateral grid.
298313

@@ -302,7 +317,9 @@ OBC_SEGMENT_001_DATA = "U=file:obcs.nc(u),V=file:obcs.nc(v),SSH=file:obcs.nc(zos
302317
OBC_SEGMENT_002_DATA = "U=file:obcs.nc(u),V=file:obcs.nc(v),SSH=file:obcs.nc(zos),TEMP=file:obcs.nc(thetao),SALT=file:obcs.nc(so),Uamp=file:tu_002.nc(uamp),Uphase=file:tu_002.nc(uphase),Vamp=file:tu_002.nc(vamp),Vphase=file:tu_002.nc(vphase),SSHamp=file:tz_002.nc(zamp),SSHphase=file:tz_002.nc(zphase)" !
303318
OBC_SEGMENT_003_DATA = "U=file:obcs.nc(u),V=file:obcs.nc(v),SSH=file:obcs.nc(zos),TEMP=file:obcs.nc(thetao),SALT=file:obcs.nc(so),Uamp=file:tu_003.nc(uamp),Uphase=file:tu_003.nc(uphase),Vamp=file:tu_003.nc(vamp),Vphase=file:tu_003.nc(vphase),SSHamp=file:tz_003.nc(zamp),SSHphase=file:tz_003.nc(zphase)" !
304319
OBC_SEGMENT_004_DATA = "U=file:obcs.nc(u),V=file:obcs.nc(v),SSH=file:obcs.nc(zos),TEMP=file:obcs.nc(thetao),SALT=file:obcs.nc(so),Uamp=file:tu_004.nc(uamp),Uphase=file:tu_004.nc(uphase),Vamp=file:tu_004.nc(vamp),Vphase=file:tu_004.nc(vphase),SSHamp=file:tz_004.nc(zamp),SSHphase=file:tz_004.nc(zphase)" !
305-
320+
!INIT_LAYERS_FROM_Z_FILE = True ! [Boolean] default = False
321+
! If true, initialize the layer thicknesses, temperatures, and salinities from a
322+
! Z-space file on a latitude-longitude grid.
306323
THICKNESS_CONFIG = "coord" !
307324
! A string that determines how the initial layer thicknesses are specified for a
308325
! new run:
@@ -382,7 +399,10 @@ SURFACE_HEIGHT_IC_VAR = "ssh" ! default = "SSH"
382399
! The initial condition variable for the surface height.
383400

384401
! === module MOM_diag_mediator ===
385-
402+
DIAG_REMAPPING_USE_OM4_SUBCELLS = False ! [Boolean] default = True
403+
! If true, use the OM4 remapping-via-subcells algorithm for diagnostics. See
404+
! REMAPPING_USE_OM4_SUBCELLS for details. We recommend setting this option to
405+
! false.
386406
! === module MOM_MEKE ===
387407
USE_MEKE = False ! [Boolean] default = False
388408
! If true, turns on the MEKE scheme which calculates a sub-grid mesoscale eddy
@@ -476,6 +496,14 @@ KHTH_MAX_CFL = 0.1 ! [nondimensional] default = 0.8
476496
! models.
477497
! === module MOM_continuity ===
478498

499+
! === module MOM_dynamics_split_RK2 ===
500+
VISC_REM_BUG = False ! [Boolean] default = True
501+
! If true, visc_rem_[uv] in split mode is incorrectly calculated or accounted
502+
! for in three places. This parameter controls the defaults of three individual
503+
! flags, VISC_REM_TIMESTEP_FIX in MOM_dynamics_split_RK2(b),
504+
! VISC_REM_BT_WEIGHT_FIX in MOM_barotropic, and VISC_REM_CONT_HVEL_FIX in
505+
! MOM_continuity_PPM. Eventually, the three individual flags should be removed
506+
! after tests and the default of VISC_REM_BUG should be to False.
479507
! === module MOM_continuity_PPM ===
480508
ETA_TOLERANCE = 1.0E-06 ! [m] default = 2.5E-09
481509
! The tolerance for the differences between the barotropic and baroclinic
@@ -524,7 +552,10 @@ SMAGORINSKY_AH = True ! [Boolean] default = False
524552
! If true, use a biharmonic Smagorinsky nonlinear eddy viscosity.
525553
SMAG_BI_CONST = 0.015 ! [nondim] default = 0.0
526554
! The nondimensional biharmonic Smagorinsky constant, typically 0.015 - 0.06.
527-
555+
FRICTWORK_BUG = False ! [Boolean] default = True
556+
! If true, retain an answer-changing bug in calculating the FrictWork, which
557+
! cancels the h in thickness flux and the h at velocity point. This isnot
558+
! recommended.
528559
! === module MOM_vert_friction ===
529560
DIRECT_STRESS = True ! [Boolean] default = False
530561
! If true, the wind stress is distributed over the topmost HMIX_STRESS of fluid
@@ -588,6 +619,11 @@ MLE_USE_PBL_MLD = True ! [Boolean] default = False
588619
! If true, the MLE parameterization will use the mixed-layer depth provided by
589620
! the active PBL parameterization. If false, MLE will estimate a MLD based on a
590621
! density difference with the surface using the parameter MLE_DENSITY_DIFF.
622+
! === module MOM_diagnostics ===
623+
INTWAVE_REMAPPING_USE_OM4_SUBCELLS = False ! [Boolean] default = True
624+
! If true, use the OM4 remapping-via-subcells algorithm for calculating EBT
625+
! structure. See REMAPPING_USE_OM4_SUBCELLS for details. We recommend setting
626+
! this option to false.
591627
! === module MOM_diabatic_driver ===
592628
! The following parameters are used for diabatic processes.
593629
USE_LEGACY_DIABATIC_DRIVER = False ! [Boolean] default = True

exps/NEP10.COBALT/INPUT/MOM_override

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
#override CHL_FROM_FILE = False
44
#override DO_GEOTHERMAL = True
55
#override DT = 400
6-
#override DIABATIC_FIRST = False
7-
#override REMAP_AUXILIARY_VARS = True
86
# Update the nodal modulation of the tide every year
97
#override OBC_TIDE_NODAL_REF_DATE = 1993,7,2
108
#override MLE%USE_BODNER23 = True
@@ -16,9 +14,17 @@
1614
#override EPBL_ANSWER_DATE = 20231231
1715
#override BBL_EFFIC = 0.0
1816
#override LZ_RESCALE = 0.2
17+
#override DIABATIC_FIRST = False
1918
#override PHA_MLD_CALC = True
2019
#override PHA_MLD_USE_DELTA_RHO = True
2120
#override PHA_MLD_HREF = 10.0
2221
#override PHA_MLD_DRHO = 0.03
23-
#override HREF_FOR_MLD = 10.0
22+
#override HREF_FOR_MLD = 5.0
2423
#override DIAG_MLD_DENSITY_DIFF = 0.03
24+
#override OBC_REMAPPING_USE_OM4_SUBCELLS = True
25+
#override REMAPPING_USE_OM4_SUBCELLS = True
26+
#override DIAG_REMAPPING_USE_OM4_SUBCELLS = True
27+
#override VISC_REM_BUG = True
28+
#override FRICTWORK_BUG = True
29+
#override INTWAVE_REMAPPING_USE_OM4_SUBCELLS = True
30+
#override GENERIC_TRACER_IC_FILE = "NEP_COBALT_spinup_2003.nc"
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../datasets/nep_input/NEP_COBALT_spinup_2003.nc

exps/NEP10.COBALT/INPUT/SIS_input

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
CGRID_ICE_DYNAMICS = True ! [Boolean] default = False
88
! If true, use a C-grid discretization of the sea-ice dynamics; if false use a
99
! B-grid discretization.
10-
DO_RIDGING = True ! [Boolean] default = False
10+
DO_RIDGING = False ! [Boolean] default = False
1111
! If true, call the ridging routines.
1212

1313
! === module MOM_domains ===
@@ -120,11 +120,11 @@ INTERSPERSED_ICE_THERMO = False ! [Boolean] default = True
120120
! updates occur at the start of the slow ice update and
121121
! dynamics and continuity can occur together.
122122
! The default should be changed to false.
123-
DT_ICE_DYNAMICS = 600.0 ! [seconds] default = -1.0
123+
DT_ICE_DYNAMICS = 300.0 ! [seconds] default = -1.0
124124
! The time step used for the slow ice dynamics, including stepping the
125125
! continuity equation and interactions between the ice mass field and
126126
! velocities. If 0 or negative the coupling time step will be used.
127-
DT_RHEOLOGY = 50.0 ! [seconds] default = -1.0
127+
DT_RHEOLOGY = -1.0 ! [seconds] default = -1.0
128128
! The sub-cycling time step for iterating the rheology and ice momentum
129129
! equations. If DT_RHEOLOGY is negative, the time step is set via NSTEPS_DYN.
130130
ICE_COVER_DISCARD = 1e-30 ! [nondim] default = -1.0
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
#override ICE_STATS_INTERVAL = 10.
22
#override DO_ICEBERGS = False
3-
#override DO_RIDGING = False
43
#override ICE_OCEAN_STRESS_STAGGER = "C"

0 commit comments

Comments
 (0)