Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
001e6a1
New tests
manishvenu Mar 25, 2026
4ec21f8
MOM_interface changes for regional, only todo is the mom6_domian tupe…
manishvenu Mar 25, 2026
e7d3055
MOM_input changes
manishvenu Mar 25, 2026
bd7a2b1
Fix formatting
manishvenu Mar 25, 2026
3a86a50
Update MOm6 commit & add the input_nl change back
manishvenu Mar 30, 2026
e0f871f
Review COmments + Update MOM6 Commit
manishvenu May 1, 2026
c78ed29
Merge remote-tracking branch 'upstream/main' into regional_changes_fo…
manishvenu May 1, 2026
458432b
Duplicate Param
manishvenu May 1, 2026
7a5c1a8
PE Layouts
manishvenu May 1, 2026
28deca3
Update
manishvenu May 1, 2026
2373b84
Line Add
manishvenu May 5, 2026
38b9aff
Reformatted BGC
manishvenu May 5, 2026
947569c
in terms of din loc root
manishvenu May 5, 2026
a34efb3
Try Adding DIN_LOC_ROOT
manishvenu May 5, 2026
1a29180
Changes
manishvenu May 5, 2026
49462f7
Reduced FIle
manishvenu May 5, 2026
f74950f
Back:
manishvenu May 5, 2026
57d19bd
Relative Path
manishvenu May 6, 2026
5d51097
Fix Riv nutri Path
manishvenu May 6, 2026
5423719
Change the max files/fields
manishvenu May 6, 2026
53ca846
INPUTDIR Changes
manishvenu May 7, 2026
e27a674
Bracket
manishvenu May 7, 2026
ebc2315
Try This
manishvenu May 7, 2026
795f8b5
Revert "Try This"
manishvenu May 7, 2026
d9e6b95
Merge branch 'ct_from_main' into regional_changes_for_croc
manishvenu Jun 24, 2026
1a7369b
Add named pesize tiers (XS/S/M/L) for regional MOM6 on Derecho (#10)
manishvenu Aug 31, 2026
661d723
Merge branch 'main' into regional_changes_for_croc
manishvenu Aug 31, 2026
97aceda
CHange MAXTRUNC to Global Vals
manishvenu Aug 31, 2026
eb92c31
Update MOm6 to regional tag
manishvenu Aug 31, 2026
5957bf4
new MOM6 commit (merged regional to main)
manishvenu Sep 8, 2026
9bd5808
New WW3 compsets
manishvenu Sep 10, 2026
2523e16
update regional compsets to JRA v1.5 and add wave regional compsets
alperaltuntas Sep 22, 2026
d73fa52
Merge pull request #12 from CROCODILE-CESM/new_regional_compsetes
alperaltuntas Sep 22, 2026
cd732d3
Regional compsets: drop duplicate CWR_JRA/GWR_JRA, move WW3 variants …
alperaltuntas Sep 24, 2026
5419651
Add regional CICE, WW3 and all-component tests (#13)
manishvenu Oct 6, 2026
6fb0c16
Point regional cice testmods at the ncat=5 Panama CICE initial state
manishvenu Oct 6, 2026
f4b6e4e
Point regional bgc testmods at the fixed Panama river nutrient file
manishvenu Oct 6, 2026
d877f83
Merge with Main
manishvenu Oct 23, 2026
b51a8c6
Remove GLOFAS specific compsets, every regional compset is GLOFAS
manishvenu Oct 23, 2026
f60ae05
Remove the regional Derecho PE layouts
manishvenu Nov 11, 2026
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
6 changes: 3 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[submodule "MOM6"]
path = MOM6
url = https://github.com/NCAR/MOM6.git
fxDONOTUSEurl = https://github.com/NCAR/MOM6.git
fxtag = dev/ncar_260909
url = https://github.com/CROCODILE-CESM/MOM6.git
fxDONOTUSEurl = https://github.com/CROCODILE-CESM/MOM6.git
fxtag = regional
fxrequired = AlwaysRequired

[submodule "stochastic_physics"]
Expand Down
15 changes: 14 additions & 1 deletion cime_config/config_component.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@
<entry_id version="3.0">

<description>
<desc ocn="MOM6[%MARBL-BIO][%MARBL-ABIO][%PHYS-CYCLE]">MOM6 OCEAN </desc>
<desc ocn="MOM6[%REGIONAL][%MARBL-BIO][%MARBL-ABIO][%PHYS-CYCLE]">MOM6 OCEAN </desc>
<desc option="MARBL-BIO">MARBL Biogeochemistry Tracer Library base biotic tracers</desc>
<desc option="MARBL-ABIO">MARBL Biogeochemistry Tracer Library abiotic DIC tracers</desc>
<desc option="REGIONAL">Regional Setup</desc>
<desc option="PHYS-CYCLE">phys cycle option</desc>
</description>

Expand Down Expand Up @@ -208,6 +209,18 @@
</desc>
</entry>

<entry id="MOM6_DOMAIN_TYPE">
<type>char</type>
<valid_values>REGIONAL,GLOBAL</valid_values>
<default_value>GLOBAL</default_value>
<values>
<value compset="_MOM6%[^_]*REGIONAL">REGIONAL</value>
</values>
<group>case_comp</group>
<file>env_run.xml</file>
<desc> Flag to turn on/off the regional/global defaults for MOM_input
</desc>
</entry>
<entry id="MOM6_PHYS_CYCLE_YEARS_IN_CYCLE">
<type>integer</type>
<default_value>0</default_value>
Expand Down
56 changes: 56 additions & 0 deletions cime_config/config_compsets.xml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,39 @@
<lname>1850_DATM%JRA_SLND_DICE%SSMI_MOM6%MARBL-ABIO_DROF%JRA_SGLC_SWAV</lname>
</compset>

<!-- C Regional compsets -->

<compset>
<alias>CR_JRA</alias>
<lname>1850_DATM%JRA-1p5-2023_SLND_DICE%SSMI_MOM6%REGIONAL_DROF%GLOFAS_SGLC_SWAV</lname>
</compset>

<compset>
<alias>CWR_JRA</alias>
<lname>1850_DATM%JRA-1p5-2023_SLND_DICE%SSMI_MOM6%REGIONAL_DROF%GLOFAS_SGLC_WW3</lname>
</compset>

<compset>
<alias>CR_JRA_RYF</alias>
<lname>2000_DATM%JRA-RYF9091_SLND_DICE%SSMI_MOM6%REGIONAL_DROF%GLOFAS_SGLC_SWAV</lname>
</compset>

<compset>
<alias>CWR_JRA_RYF</alias>
<lname>2000_DATM%JRA-RYF9091_SLND_DICE%SSMI_MOM6%REGIONAL_DROF%GLOFAS_SGLC_WW3</lname>
</compset>

<compset>
<alias>CR1850MARBL_JRA</alias>
<lname>1850_DATM%JRA-1p5-2023_SLND_DICE%SSMI_MOM6%REGIONAL%MARBL-BIO_DROF%GLOFAS_SGLC_SWAV</lname>
</compset>

<compset>
<alias>CWR1850MARBL_JRA</alias>
<lname>1850_DATM%JRA-1p5-2023_SLND_DICE%SSMI_MOM6%REGIONAL%MARBL-BIO_DROF%GLOFAS_SGLC_WW3</lname>
</compset>


<!-- G compsets -->

<compset>
Expand Down Expand Up @@ -137,6 +170,29 @@
<lname>1850_DATM%JRA-1p5-2023_SLND_CICE_MOM6%MARBL-ABIO_DROF%JRA-1p5-2023_SGLC_WW3</lname>
</compset>

<!-- G Regional compsets -->

<compset>
<alias>GR_JRA</alias>
<lname>1850_DATM%JRA-1p5-2023_SLND_CICE_MOM6%REGIONAL_DROF%GLOFAS_SGLC_SWAV</lname>
</compset>

<compset>
<alias>GWR_JRA</alias>
<lname>1850_DATM%JRA-1p5-2023_SLND_CICE_MOM6%REGIONAL_DROF%GLOFAS_SGLC_WW3</lname>
</compset>

<compset>
<alias>GR1850MARBL_JRA</alias>
<lname>1850_DATM%JRA-1p5-2023_SLND_CICE_MOM6%REGIONAL%MARBL-BIO_DROF%GLOFAS_SGLC_SWAV</lname>
</compset>

<compset>
<alias>GWR1850MARBL_JRA</alias>
<lname>1850_DATM%JRA-1p5-2023_SLND_CICE_MOM6%REGIONAL%MARBL-BIO_DROF%GLOFAS_SGLC_WW3</lname>
</compset>
Comment on lines +175 to +188

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dabail10 and I were talking, and we probably want a CICE modifier as well (e.g. CICE%REGIONAL). Now that open boundary conditions are available in CICE, he's going to test that code out but eventually CICE will want to be able to configure regional domains.

Two notes:

  1. I assume changing CICE to CICE%<something_else> will not change answers if CICE's config_component.xml doesn't know what to do with the new modifier, but it's worth testing that hypothesis
  2. CICE%REGIONAL is my first thought, but @dabail10 may propose a better modifier

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe this should be another PR? Or can CICE use the MOM6 regional? Because you can't have one without the other?



<!-- ENTRIES -->

<entries>
Expand Down
80 changes: 80 additions & 0 deletions cime_config/testdefs/testlist_mom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -298,4 +298,84 @@
<option name="wallclock">00:30:00</option>
</options>
</test>
<!-- Regional MOM6 Tests (with and without BGC) -->
<test name="SMS_D_Ld2" grid="USER_RES" compset="CR_JRA_GLOFAS" testmods="mom/regional-base--mom/debug">
<machines>
<machine name="derecho" compiler="intel" category="aux_mom"/>
<machine name="derecho" compiler="intel" category="prebeta"/>
</machines>
<options>
<option name="wallclock">02:00:00</option>
</options>
</test>
<test name="ERS_Ld9" grid="USER_RES" compset="CR_JRA_GLOFAS" testmods="mom/regional-base">
<machines>
<machine name="derecho" compiler="intel" category="aux_mom"/>
<machine name="derecho" compiler="intel" category="prebeta"/>
</machines>
<options>
<option name="wallclock">02:00:00</option>
</options>
</test>
<test name="SMS_D_Ld2" grid="USER_RES" compset="CR1850MARBL_JRA_GLOFAS" testmods="mom/regional-bgc--mom/debug">
<machines>
<machine name="derecho" compiler="intel" category="aux_mom"/>
<machine name="derecho" compiler="intel" category="pr_mom"/>
<machine name="derecho" compiler="intel" category="prealpha"/>
<machine name="derecho" compiler="intel" category="prebeta"/>
</machines>
<options>
<option name="wallclock">02:00:00</option>
</options>
</test>
<test name="ERS_Ld9" grid="USER_RES" compset="CR1850MARBL_JRA_GLOFAS" testmods="mom/regional-bgc">
<machines>
<machine name="derecho" compiler="intel" category="aux_mom"/>
<machine name="derecho" compiler="intel" category="prebeta"/>
</machines>
<options>
<option name="wallclock">02:00:00</option>
</options>
</test>
<!-- Regional MOM6 coupled to CICE, WW3 and MARBL -->
<test name="SMS_D_Ld2" grid="USER_RES" compset="GR_JRA_GLOFAS" testmods="mom/regional-ice--mom/debug">
<machines>
<machine name="derecho" compiler="intel" category="aux_mom"/>
<machine name="derecho" compiler="intel" category="prealpha"/>
<machine name="derecho" compiler="intel" category="prebeta"/>
</machines>
<options>
<option name="wallclock">02:00:00</option>
</options>
</test>
<test name="SMS_D_Ld2" grid="USER_RES" compset="CWR_JRA_GLOFAS" testmods="mom/regional-wav--mom/debug">
<machines>
<machine name="derecho" compiler="intel" category="aux_mom"/>
<machine name="derecho" compiler="intel" category="prealpha"/>
<machine name="derecho" compiler="intel" category="prebeta"/>
</machines>
<options>
<option name="wallclock">02:00:00</option>
</options>
</test>
<test name="SMS_D_Ld2" grid="USER_RES" compset="GWR1850MARBL_JRA_GLOFAS" testmods="mom/regional-all--mom/debug">
<machines>
<machine name="derecho" compiler="intel" category="aux_mom"/>
<machine name="derecho" compiler="intel" category="prealpha"/>
<machine name="derecho" compiler="intel" category="prebeta"/>
</machines>
<options>
<option name="wallclock">02:00:00</option>
</options>
</test>
<test name="ERS_Ld9" grid="USER_RES" compset="GWR1850MARBL_JRA_GLOFAS" testmods="mom/regional-all">
<machines>
<machine name="derecho" compiler="intel" category="aux_mom"/>
<machine name="derecho" compiler="intel" category="prealpha"/>
<machine name="derecho" compiler="intel" category="prebeta"/>
</machines>
<options>
<option name="wallclock">02:00:00</option>
</options>
</test>
</testlist>
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
../bgc
../cice
../ww3
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
./xmlchange OCN_GRID=panama1
./xmlchange OCN_NX=60
./xmlchange OCN_NY=60
./xmlchange OCN_DOMAIN_MESH='${DIN_LOC_ROOT}/ocn/mom/croc/testing_data/panama/ESMF_mesh_panama1_1c3aaa.nc'
./xmlchange ICE_GRID=panama1
./xmlchange ICE_NX=60
./xmlchange ICE_NY=60
./xmlchange ICE_DOMAIN_MESH='${DIN_LOC_ROOT}/ocn/mom/croc/testing_data/panama/ESMF_mesh_panama1_1c3aaa.nc'
./xmlchange MASK_MESH='${DIN_LOC_ROOT}/ocn/mom/croc/testing_data/panama/ESMF_mesh_panama1_1c3aaa.nc'
./xmlchange ATM_GRID=TL319
./xmlchange LND_GRID=TL319
./xmlchange ATM_DOMAIN_MESH='${DIN_LOC_ROOT}/share/meshes/TL319_151007_ESMFmesh.nc'
./xmlchange LND_DOMAIN_MESH='${DIN_LOC_ROOT}/share/meshes/TL319_151007_ESMFmesh.nc'
./xmlchange ROF_GRID=GLOFAS
./xmlchange ROF_DOMAIN_MESH='${DIN_LOC_ROOT}/lnd/dlnd7/GLOFAS/GLOFAS.v4.dis24.ESMFmesh_20260501.nc'
./xmlchange MOM6_MEMORY_MODE=dynamic_symmetric
./xmlchange ROF2OCN_LIQ_RMAPNAME='${DIN_LOC_ROOT}/ocn/mom/croc/testing_data/panama/GLOFAS_to_panama1_map_r20_f40_nnsm.nc'
./xmlchange ROF2OCN_ICE_RMAPNAME='${DIN_LOC_ROOT}/ocn/mom/croc/testing_data/panama/GLOFAS_to_panama1_map_r20_f40_nnsm.nc'
./xmlchange CALENDAR=GREGORIAN
./xmlchange RUN_STARTDATE=2000-01-01

# Set PE Layout
./xmlchange NTASKS_OCN=20
63 changes: 63 additions & 0 deletions cime_config/testdefs/testmods_dirs/mom/regional/base/user_nl_mom
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
! Generated by CrocoDash on the Panama test grid with synthetic forcing (reference_ocean).
! INPUTDIR is set by MOM_input.yaml because it requires a hard-coded path
! Custom Horizonal Grid, Topography, and Vertical Grid
TRIPOLAR_N = False
REENTRANT_X = False
REENTRANT_Y = False
NIGLOBAL = 60
NJGLOBAL = 60
GRID_CONFIG = mosaic
GRID_FILE = ocean_hgrid_panama1_1c3aaa.nc
TOPO_CONFIG = file
TOPO_FILE = ocean_topog_panama1_1c3aaa.nc
MAXIMUM_DEPTH = 3431.7499950346473
MINIMUM_DEPTH = 9.5
NK = 75
COORD_CONFIG = none
ALE_COORDINATE_CONFIG = FILE:ocean_vgrid_panama1_1c3aaa.nc
REGRIDDING_COORDINATE_MODE = Z*

! Timesteps (based on grid resolution)
DT = 300.0
DT_THERM = 900.0

! Initial conditions
INIT_LAYERS_FROM_Z_FILE = True
Z_INIT_ALE_REMAPPING = True
TEMP_SALT_INIT_VERTICAL_REMAP_ONLY = True
DEPRESS_INITIAL_SURFACE = True
VELOCITY_CONFIG = file
TEMP_SALT_Z_INIT_FILE = init_tracers_filled.nc
SURFACE_HEIGHT_IC_FILE = init_eta_filled.nc
VELOCITY_FILE = init_vel_filled.nc
Z_INIT_FILE_PTEMP_VAR = temp
Z_INIT_FILE_SALT_VAR = salt
SURFACE_HEIGHT_IC_VAR = eta_t
U_IC_VAR = u
V_IC_VAR = v

! Open boundary conditions
OBC_NUMBER_OF_SEGMENTS = 4
OBC_FREESLIP_VORTICITY = False
OBC_FREESLIP_STRAIN = False
OBC_COMPUTED_VORTICITY = True
OBC_COMPUTED_STRAIN = True
OBC_ZERO_BIHARMONIC = True
OBC_TRACER_RESERVOIR_LENGTH_SCALE_OUT = 3.0E+04
OBC_TRACER_RESERVOIR_LENGTH_SCALE_IN = 3000.0
BRUSHCUTTER_MODE = True
ENABLE_BUGS_BY_DEFAULT = False
OBC_SEGMENT_001 = "J=0,I=0:N,FLATHER,ORLANSKI,NUDGED,ORLANSKI_TAN,NUDGED_TAN"
OBC_SEGMENT_001_VELOCITY_NUDGING_TIMESCALES = 0.3, 360.0
OBC_SEGMENT_001_DATA = "U=file:forcing_obc_segment_001.nc(u),V=file:forcing_obc_segment_001.nc(v),SSH=file:forcing_obc_segment_001.nc(eta),TEMP=file:forcing_obc_segment_001.nc(temp),SALT=file:forcing_obc_segment_001.nc(salt)"
OBC_SEGMENT_002 = "J=N,I=N:0,FLATHER,ORLANSKI,NUDGED,ORLANSKI_TAN,NUDGED_TAN"
OBC_SEGMENT_002_VELOCITY_NUDGING_TIMESCALES = 0.3, 360.0
OBC_SEGMENT_002_DATA = "U=file:forcing_obc_segment_002.nc(u),V=file:forcing_obc_segment_002.nc(v),SSH=file:forcing_obc_segment_002.nc(eta),TEMP=file:forcing_obc_segment_002.nc(temp),SALT=file:forcing_obc_segment_002.nc(salt)"
OBC_SEGMENT_003 = "I=0,J=N:0,FLATHER,ORLANSKI,NUDGED,ORLANSKI_TAN,NUDGED_TAN"
OBC_SEGMENT_003_VELOCITY_NUDGING_TIMESCALES = 0.3, 360.0
OBC_SEGMENT_003_DATA = "U=file:forcing_obc_segment_003.nc(u),V=file:forcing_obc_segment_003.nc(v),SSH=file:forcing_obc_segment_003.nc(eta),TEMP=file:forcing_obc_segment_003.nc(temp),SALT=file:forcing_obc_segment_003.nc(salt)"
OBC_SEGMENT_004 = "I=N,J=0:N,FLATHER,ORLANSKI,NUDGED,ORLANSKI_TAN,NUDGED_TAN"
OBC_SEGMENT_004_VELOCITY_NUDGING_TIMESCALES = 0.3, 360.0
OBC_SEGMENT_004_DATA = "U=file:forcing_obc_segment_004.nc(u),V=file:forcing_obc_segment_004.nc(v),SSH=file:forcing_obc_segment_004.nc(eta),TEMP=file:forcing_obc_segment_004.nc(temp),SALT=file:forcing_obc_segment_004.nc(salt)"

! We need to add one line at the end so we can concatenate other testing user_nl_mom files (if you don't they just get added to the last line)
23 changes: 23 additions & 0 deletions cime_config/testdefs/testmods_dirs/mom/regional/bgc/shell_commands
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
./xmlchange OCN_GRID=panama1
./xmlchange OCN_NX=60
./xmlchange OCN_NY=60
./xmlchange OCN_DOMAIN_MESH='${DIN_LOC_ROOT}/ocn/mom/croc/testing_data/panama-bgc/ESMF_mesh_panama1_1c3aac.nc'
./xmlchange ICE_GRID=panama1
./xmlchange ICE_NX=60
./xmlchange ICE_NY=60
./xmlchange ICE_DOMAIN_MESH='${DIN_LOC_ROOT}/ocn/mom/croc/testing_data/panama-bgc/ESMF_mesh_panama1_1c3aac.nc'
./xmlchange MASK_MESH='${DIN_LOC_ROOT}/ocn/mom/croc/testing_data/panama-bgc/ESMF_mesh_panama1_1c3aac.nc'
./xmlchange ATM_GRID=TL319
./xmlchange LND_GRID=TL319
./xmlchange ATM_DOMAIN_MESH='${DIN_LOC_ROOT}/share/meshes/TL319_151007_ESMFmesh.nc'
./xmlchange LND_DOMAIN_MESH='${DIN_LOC_ROOT}/share/meshes/TL319_151007_ESMFmesh.nc'
./xmlchange ROF_GRID=GLOFAS
./xmlchange ROF_DOMAIN_MESH='${DIN_LOC_ROOT}/lnd/dlnd7/GLOFAS/GLOFAS.v4.dis24.ESMFmesh_20260501.nc'
./xmlchange MOM6_MEMORY_MODE=dynamic_symmetric
./xmlchange ROF2OCN_LIQ_RMAPNAME='${DIN_LOC_ROOT}/ocn/mom/croc/testing_data/panama-bgc/GLOFAS_to_panama1_map_r20_f40_nnsm.nc'
./xmlchange ROF2OCN_ICE_RMAPNAME='${DIN_LOC_ROOT}/ocn/mom/croc/testing_data/panama-bgc/GLOFAS_to_panama1_map_r20_f40_nnsm.nc'
./xmlchange CALENDAR=GREGORIAN
./xmlchange RUN_STARTDATE=2000-01-01

# Set PE Layout
./xmlchange NTASKS_OCN=30
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
lvariable_NtoC = .false.
Loading