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

Add new RRSwISC6to18E3r4 ocean and sea-ice mesh #6143

Closed
wants to merge 9 commits into from
165 changes: 165 additions & 0 deletions cime_config/config_grids.xml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion components/elm/bld/namelist_files/namelist_definition.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1404,7 +1404,7 @@ Representative concentration pathway for future scenarios [radiative forcing at

<entry id="mask" type="char*20" category="default_settings"
group="default_settings"
valid_values="USGS,gx3v7,gx1v6,navy,test,tx0.1v2,tx1v1,T62,TL319,cruncep,oEC60to30v3,oEC60to30v3wLI,ECwISC30to60E1r2,EC30to60E2r2,WC14to60E2r3,WCAtl12to45E2r4,SOwISC12to60E2r4,ECwISC30to60E2r1,oRRS18to6,oRRS18to6v3,oRRS15to5,oARRM60to10,oARRM60to6,ARRM10to60E2r1,oQU480,oQU240,oQU240wLI,oQU120,oRRS30to10v3,oRRS30to10v3wLI,360x720cru,NLDASww3a,NLDAS,tx0.1v2,ICOS10,IcoswISC30E3r5">
valid_values="USGS,gx3v7,gx1v6,navy,test,tx0.1v2,tx1v1,T62,TL319,cruncep,oEC60to30v3,oEC60to30v3wLI,ECwISC30to60E1r2,EC30to60E2r2,WC14to60E2r3,WCAtl12to45E2r4,SOwISC12to60E2r4,ECwISC30to60E2r1,oRRS18to6,oRRS18to6v3,oRRS15to5,oARRM60to10,oARRM60to6,ARRM10to60E2r1,oQU480,oQU240,oQU240wLI,oQU120,oRRS30to10v3,oRRS30to10v3wLI,360x720cru,NLDASww3a,NLDAS,tx0.1v2,ICOS10,IcoswISC30E3r5,RRSwISC6to18E3r4">
Land mask description
</entry>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
<config_dt ocn_grid="SOwISC12to60E2r4">'00:10:00'</config_dt>
<config_dt ocn_grid="ECwISC30to60E2r1">'00:30:00'</config_dt>
<config_dt ocn_grid="IcoswISC30E3r5">'00:30:00'</config_dt>
<config_dt ocn_grid="RRSwISC6to18E3r4">'00:05:00'</config_dt>
<config_time_integrator>'split_explicit_ab2'</config_time_integrator>
<config_number_of_time_levels>2</config_number_of_time_levels>

Expand All @@ -73,6 +74,7 @@
<config_hmix_scaleWithMesh ocn_grid="SOwISC12to60E2r4">.true.</config_hmix_scaleWithMesh>
<config_hmix_scaleWithMesh ocn_grid="ECwISC30to60E2r1">.true.</config_hmix_scaleWithMesh>
<config_hmix_scaleWithMesh ocn_grid="IcoswISC30E3r5">.true.</config_hmix_scaleWithMesh>
<config_hmix_scaleWithMesh ocn_grid="RRSwISC6to18E3r4">.true.</config_hmix_scaleWithMesh>
<config_maxMeshDensity>-1.0</config_maxMeshDensity>
<config_hmix_use_ref_cell_width>.false.</config_hmix_use_ref_cell_width>
<config_hmix_ref_cell_width>30.0e3</config_hmix_ref_cell_width>
Expand Down Expand Up @@ -124,6 +126,7 @@
<config_mom_del4 ocn_grid="SOwISC12to60E2r4">1.18e10</config_mom_del4>
<config_mom_del4 ocn_grid="ECwISC30to60E2r1">1.2e11</config_mom_del4>
<config_mom_del4 ocn_grid="IcoswISC30E3r5">1.2e11</config_mom_del4>
<config_mom_del4 ocn_grid="RRSwISC6to18E3r4">3.2e09</config_mom_del4>
<config_mom_del4_div_factor>1.0</config_mom_del4_div_factor>
<config_use_tracer_del4>.false.</config_use_tracer_del4>
<config_tracer_del4>0.0</config_tracer_del4>
Expand All @@ -140,6 +143,7 @@
<config_use_Redi ocn_grid="oRRS30to10v3wLI">.false.</config_use_Redi>
<config_use_Redi ocn_grid="oRRS18to6v3">.false.</config_use_Redi>
<config_use_Redi ocn_grid="oRRS15to5">.false.</config_use_Redi>
<config_use_Redi ocn_grid="RRSwISC6to18E3r4">.false.</config_use_Redi>
<config_Redi_closure>'constant'</config_Redi_closure>
<config_Redi_constant_kappa>400.0</config_Redi_constant_kappa>
<config_Redi_constant_kappa ocn_forcing="datm_forced_restoring">400.0</config_Redi_constant_kappa>
Expand Down Expand Up @@ -174,6 +178,7 @@
<config_use_GM ocn_grid="oRRS30to10v3wLI">.false.</config_use_GM>
<config_use_GM ocn_grid="oRRS18to6v3">.false.</config_use_GM>
<config_use_GM ocn_grid="oRRS15to5">.false.</config_use_GM>
<config_use_GM ocn_grid="RRSwISC6to18E3r4">.false.</config_use_GM>
<config_GM_closure>'EdenGreatbatch'</config_GM_closure>
<config_GM_closure ocn_grid="EC30to60E2r2">'constant'</config_GM_closure>
<config_GM_closure ocn_grid="WC14to60E2r3">'constant'</config_GM_closure>
Expand Down Expand Up @@ -347,6 +352,7 @@
<config_land_ice_flux_mode ocn_grid="SOwISC12to60E2r4">'pressure_only'</config_land_ice_flux_mode>
<config_land_ice_flux_mode ocn_grid="ECwISC30to60E2r1">'pressure_only'</config_land_ice_flux_mode>
<config_land_ice_flux_mode ocn_grid="IcoswISC30E3r5">'pressure_only'</config_land_ice_flux_mode>
<config_land_ice_flux_mode ocn_grid="RRSwISC6to18E3r4">'pressure_only'</config_land_ice_flux_mode>
<config_land_ice_flux_formulation>'Jenkins'</config_land_ice_flux_formulation>
<config_land_ice_flux_useHollandJenkinsAdvDiff>.false.</config_land_ice_flux_useHollandJenkinsAdvDiff>
<config_land_ice_flux_attenuation_coefficient>10.0</config_land_ice_flux_attenuation_coefficient>
Expand All @@ -360,6 +366,7 @@
<config_land_ice_flux_explicit_topDragCoeff ocn_grid="SOwISC12to60E2r4">4.48e-3</config_land_ice_flux_explicit_topDragCoeff>
<config_land_ice_flux_explicit_topDragCoeff ocn_grid="ECwISC30to60E2r1">4.48e-3</config_land_ice_flux_explicit_topDragCoeff>
<config_land_ice_flux_explicit_topDragCoeff ocn_grid="IcoswISC30E3r5">4.48e-3</config_land_ice_flux_explicit_topDragCoeff>
<config_land_ice_flux_explicit_topDragCoeff ocn_grid="RRSwISC6to18E3r4">4.48e-3</config_land_ice_flux_explicit_topDragCoeff>
<config_land_ice_flux_ISOMIP_gammaT>1e-4</config_land_ice_flux_ISOMIP_gammaT>
<config_land_ice_flux_rms_tidal_velocity>5e-2</config_land_ice_flux_rms_tidal_velocity>
<config_land_ice_flux_jenkins_heat_transfer_coefficient>0.011</config_land_ice_flux_jenkins_heat_transfer_coefficient>
Expand All @@ -368,12 +375,14 @@
<config_land_ice_flux_jenkins_heat_transfer_coefficient ocn_grid="SOwISC12to60E2r4">0.00295</config_land_ice_flux_jenkins_heat_transfer_coefficient>
<config_land_ice_flux_jenkins_heat_transfer_coefficient ocn_grid="ECwISC30to60E2r1">0.00295</config_land_ice_flux_jenkins_heat_transfer_coefficient>
<config_land_ice_flux_jenkins_heat_transfer_coefficient ocn_grid="IcoswISC30E3r5">0.00295</config_land_ice_flux_jenkins_heat_transfer_coefficient>
<config_land_ice_flux_jenkins_heat_transfer_coefficient ocn_grid="RRSwISC6to18E3r4">0.00295</config_land_ice_flux_jenkins_heat_transfer_coefficient>
<config_land_ice_flux_jenkins_salt_transfer_coefficient>3.1e-4</config_land_ice_flux_jenkins_salt_transfer_coefficient>
<config_land_ice_flux_jenkins_salt_transfer_coefficient ocn_grid="oEC60to30v3wLI">8.42e-5</config_land_ice_flux_jenkins_salt_transfer_coefficient>
<config_land_ice_flux_jenkins_salt_transfer_coefficient ocn_grid="ECwISC30to60E1r2">8.42e-5</config_land_ice_flux_jenkins_salt_transfer_coefficient>
<config_land_ice_flux_jenkins_salt_transfer_coefficient ocn_grid="SOwISC12to60E2r4">8.42e-5</config_land_ice_flux_jenkins_salt_transfer_coefficient>
<config_land_ice_flux_jenkins_salt_transfer_coefficient ocn_grid="ECwISC30to60E2r1">8.42e-5</config_land_ice_flux_jenkins_salt_transfer_coefficient>
<config_land_ice_flux_jenkins_salt_transfer_coefficient ocn_grid="IcoswISC30E3r5">8.42e-5</config_land_ice_flux_jenkins_salt_transfer_coefficient>
<config_land_ice_flux_jenkins_salt_transfer_coefficient ocn_grid="RRSwISC6to18E3r4">8.42e-5</config_land_ice_flux_jenkins_salt_transfer_coefficient>

<!-- advection -->
<config_vert_advection_method>'flux-form'</config_vert_advection_method>
Expand All @@ -397,6 +406,7 @@
<config_implicit_top_drag_coeff ocn_grid="SOwISC12to60E2r4">4.48e-3</config_implicit_top_drag_coeff>
<config_implicit_top_drag_coeff ocn_grid="ECwISC30to60E2r1">4.48e-3</config_implicit_top_drag_coeff>
<config_implicit_top_drag_coeff ocn_grid="IcoswISC30E3r5">4.48e-3</config_implicit_top_drag_coeff>
<config_implicit_top_drag_coeff ocn_grid="RRSwISC6to18E3r4">4.48e-3</config_implicit_top_drag_coeff>
<config_loglaw_bottom_roughness>1.0e-3</config_loglaw_bottom_roughness>
<config_loglaw_layer_depth_max>10.0</config_loglaw_layer_depth_max>
<config_loglaw_bottom_drag_min>2.5e-3</config_loglaw_bottom_drag_min>
Expand Down Expand Up @@ -475,6 +485,7 @@
<config_btr_dt ocn_grid="SOwISC12to60E2r4">'0000_00:00:15'</config_btr_dt>
<config_btr_dt ocn_grid="ECwISC30to60E2r1">'0000_00:01:15'</config_btr_dt>
<config_btr_dt ocn_grid="IcoswISC30E3r5">'0000_00:01:00'</config_btr_dt>
<config_btr_dt ocn_grid="RRSwISC6to18E3r4">'0000_00:00:10'</config_btr_dt>
<config_n_btr_cor_iter>2</config_n_btr_cor_iter>
<config_vel_correction>.true.</config_vel_correction>
<config_btr_subcycle_loop_factor>2</config_btr_subcycle_loop_factor>
Expand Down Expand Up @@ -516,6 +527,7 @@
<config_check_ssh_consistency ocn_grid="SOwISC12to60E2r4">.false.</config_check_ssh_consistency>
<config_check_ssh_consistency ocn_grid="ECwISC30to60E2r1">.false.</config_check_ssh_consistency>
<config_check_ssh_consistency ocn_grid="IcoswISC30E3r5">.false.</config_check_ssh_consistency>
<config_check_ssh_consistency ocn_grid="RRSwISC6to18E3r4">.false.</config_check_ssh_consistency>
<config_filter_btr_mode>.false.</config_filter_btr_mode>
<config_prescribe_velocity>.false.</config_prescribe_velocity>
<config_prescribe_thickness>.false.</config_prescribe_thickness>
Expand Down Expand Up @@ -1033,6 +1045,7 @@
<config_AM_mocStreamfunction_enable ocn_grid="SOwISC12to60E2r4">.true.</config_AM_mocStreamfunction_enable>
<config_AM_mocStreamfunction_enable ocn_grid="ECwISC30to60E2r1">.true.</config_AM_mocStreamfunction_enable>
<config_AM_mocStreamfunction_enable ocn_grid="IcoswISC30E3r5">.true.</config_AM_mocStreamfunction_enable>
<config_AM_mocStreamfunction_enable ocn_grid="RRSwISC6to18E3r4">.true.</config_AM_mocStreamfunction_enable>
<config_AM_mocStreamfunction_compute_interval>'0000-00-00_01:00:00'</config_AM_mocStreamfunction_compute_interval>
<config_AM_mocStreamfunction_output_stream>'mocStreamfunctionOutput'</config_AM_mocStreamfunction_output_stream>
<config_AM_mocStreamfunction_compute_on_startup>.true.</config_AM_mocStreamfunction_compute_on_startup>
Expand Down Expand Up @@ -1115,16 +1128,19 @@
<config_AM_conservationCheck_enable ocn_grid="SOwISC12to60E2r4">.true.</config_AM_conservationCheck_enable>
<config_AM_conservationCheck_enable ocn_grid="ECwISC30to60E2r1">.true.</config_AM_conservationCheck_enable>
<config_AM_conservationCheck_enable ocn_grid="IcoswISC30E3r5">.true.</config_AM_conservationCheck_enable>
<config_AM_conservationCheck_enable ocn_grid="RRSwISC6to18E3r4">.true.</config_AM_conservationCheck_enable>
<config_AM_conservationCheck_compute_interval>'dt'</config_AM_conservationCheck_compute_interval>
<config_AM_conservationCheck_output_stream>'conservationCheckOutput'</config_AM_conservationCheck_output_stream>
<config_AM_conservationCheck_compute_on_startup>.false.</config_AM_conservationCheck_compute_on_startup>
<config_AM_conservationCheck_compute_on_startup ocn_grid="SOwISC12to60E2r4">.true.</config_AM_conservationCheck_compute_on_startup>
<config_AM_conservationCheck_compute_on_startup ocn_grid="ECwISC30to60E2r1">.true.</config_AM_conservationCheck_compute_on_startup>
<config_AM_conservationCheck_compute_on_startup ocn_grid="IcoswISC30E3r5">.true.</config_AM_conservationCheck_compute_on_startup>
<config_AM_conservationCheck_compute_on_startup ocn_grid="RRSwISC6to18E3r4">.true.</config_AM_conservationCheck_compute_on_startup>
<config_AM_conservationCheck_write_on_startup>.false.</config_AM_conservationCheck_write_on_startup>
<config_AM_conservationCheck_write_on_startup ocn_grid="SOwISC12to60E2r4">.true.</config_AM_conservationCheck_write_on_startup>
<config_AM_conservationCheck_write_on_startup ocn_grid="ECwISC30to60E2r1">.true.</config_AM_conservationCheck_write_on_startup>
<config_AM_conservationCheck_write_on_startup ocn_grid="IcoswISC30E3r5">.true.</config_AM_conservationCheck_write_on_startup>
<config_AM_conservationCheck_write_on_startup ocn_grid="RRSwISC6to18E3r4">.true.</config_AM_conservationCheck_write_on_startup>
<config_AM_conservationCheck_write_to_logfile>.true.</config_AM_conservationCheck_write_to_logfile>
<config_AM_conservationCheck_restart_stream>'conservationCheckRestart'</config_AM_conservationCheck_restart_stream>

Expand Down
38 changes: 26 additions & 12 deletions components/mpas-ocean/cime_config/buildnml
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,20 @@ def buildnml(case, caseroot, compname):
if ocn_ismf == 'data':
data_ismf_file = 'prescribed_ismf_adusumilli2020.IcoswISC30E3r5.20231120.nc'

elif ocn_grid == 'RRSwISC6to18E3r4':
decomp_date = '20240105'
decomp_prefix = 'partitions/mpas-o.graph.info.'
restoring_file = 'sss.PHC2_monthlyClimatology.RRSwISC6to18E3r4.20240105.nc'
analysis_mask_file = 'RRSwISC6to18E3r4_mocBasinsAndTransects20210623.nc'
ic_date = '20240105'
ic_prefix = 'mpaso.RRSwISC6to18E3r4'
if ocn_ic_mode == 'spunup':
ic_date = '20240110'
ic_prefix = 'mpaso.RRSwISC6to18E3r4.rstFromG-chrysalis'
if ocn_ismf == 'data':
data_ismf_file = 'prescribed_ismf_paolo2023.RRSwISC6to18E3r4.20240227.nc'


#--------------------------------------------------------------------
# Set OCN_FORCING = datm_forced_restoring if restoring file is available
#--------------------------------------------------------------------
Expand Down Expand Up @@ -422,7 +436,7 @@ def buildnml(case, caseroot, compname):
lines.append('')
lines.append('<immutable_stream name="mesh"')
lines.append(' type="none"')
if ocn_grid.startswith("oRRS1"):
if ocn_grid.startswith("oRRS1") or ocn_grid.startswith("RRSwISC6"):
lines.append(' io_type="pnetcdf,cdf5"')
else:
lines.append(' io_type="{}"'.format(ocn_pio_typename))
Expand All @@ -431,7 +445,7 @@ def buildnml(case, caseroot, compname):
lines.append('/>')
lines.append('<immutable_stream name="input"')
lines.append(' type="input"')
if ocn_grid.startswith("oRRS1"):
if ocn_grid.startswith("oRRS1") or ocn_grid.startswith("RRSwISC6"):
lines.append(' io_type="pnetcdf,cdf5"')
else:
lines.append(' io_type="{}"'.format(ocn_pio_typename))
Expand All @@ -452,7 +466,7 @@ def buildnml(case, caseroot, compname):
lines.append('-->')
lines.append('<immutable_stream name="restart"')
lines.append(' type="input;output"')
if ocn_grid.startswith("oRRS1"):
if ocn_grid.startswith("oRRS1") or ocn_grid.startswith("RRSwISC6"):
lines.append(' io_type="pnetcdf,cdf5"')
else:
lines.append(' io_type="{}"'.format(ocn_pio_typename))
Expand All @@ -471,7 +485,7 @@ def buildnml(case, caseroot, compname):
lines.append('')
lines.append('<stream name="output"')
lines.append(' type="output"')
if ocn_grid.startswith("oRRS1"):
if ocn_grid.startswith("oRRS1") or ocn_grid.startswith("RRSwISC6"):
lines.append(' io_type="pnetcdf,cdf5"')
else:
lines.append(' io_type="{}"'.format(ocn_pio_typename))
Expand Down Expand Up @@ -755,7 +769,7 @@ def buildnml(case, caseroot, compname):
lines.append('<stream name="eddyProductVariablesOutput"')
lines.append(' type="output"')
lines.append(' precision="single"')
if ocn_grid.startswith("oRRS1"):
if ocn_grid.startswith("oRRS1") or ocn_grid.startswith("RRSwISC6"):
lines.append(' io_type="pnetcdf,cdf5"')
else:
lines.append(' io_type="{}"'.format(ocn_pio_typename))
Expand Down Expand Up @@ -1135,7 +1149,7 @@ def buildnml(case, caseroot, compname):
lines.append('<stream name="timeSeriesStatsMonthlyOutput"')
lines.append(' type="output"')
lines.append(' precision="single"')
if ocn_grid.startswith("oRRS1"):
if ocn_grid.startswith("oRRS1") or ocn_grid.startswith("RRSwISC6"):
lines.append(' io_type="pnetcdf,cdf5"')
else:
lines.append(' io_type="{}"'.format(ocn_pio_typename))
Expand Down Expand Up @@ -1181,7 +1195,7 @@ def buildnml(case, caseroot, compname):
lines.append(' <var name="atmosphericPressure"/>')
lines.append(' <var name="normalMLEvelocity"/>')
lines.append(' <var name="vertMLEBolusVelocityTop"/>')
if not ocn_grid.startswith("oRRS1"):
if not (ocn_grid.startswith("oRRS1") or ocn_grid.startswith("RRSwISC6")):
lines.append(' <var name="normalGMBolusVelocity"/>')
lines.append(' <var name="vertGMBolusVelocityTop"/>')
lines.append(' <var name="cGMphaseSpeed"/>')
Expand Down Expand Up @@ -1362,7 +1376,7 @@ def buildnml(case, caseroot, compname):
lines.append('<stream name="timeSeriesStatsMonthlyMaxOutput"')
lines.append(' type="output"')
lines.append(' precision="single"')
if ocn_grid.startswith("oRRS1"):
if ocn_grid.startswith("oRRS1") or ocn_grid.startswith("RRSwISC6"):
lines.append(' io_type="pnetcdf,cdf5"')
else:
lines.append(' io_type="{}"'.format(ocn_pio_typename))
Expand Down Expand Up @@ -1424,7 +1438,7 @@ def buildnml(case, caseroot, compname):
lines.append('<stream name="timeSeriesStatsMonthlyMinOutput"')
lines.append(' type="output"')
lines.append(' precision="single"')
if ocn_grid.startswith("oRRS1"):
if ocn_grid.startswith("oRRS1") or ocn_grid.startswith("RRSwISC6"):
lines.append(' io_type="pnetcdf,cdf5"')
else:
lines.append(' io_type="{}"'.format(ocn_pio_typename))
Expand Down Expand Up @@ -1527,7 +1541,7 @@ def buildnml(case, caseroot, compname):
lines.append('')
lines.append('<stream name="timeSeriesStatsMonthlyRestart"')
lines.append(' type="input;output"')
if ocn_grid.startswith("oRRS1"):
if ocn_grid.startswith("oRRS1") or ocn_grid.startswith("RRSwISC6"):
lines.append(' io_type="pnetcdf,cdf5"')
else:
lines.append(' io_type="{}"'.format(ocn_pio_typename))
Expand All @@ -1543,7 +1557,7 @@ def buildnml(case, caseroot, compname):
lines.append('')
lines.append('<stream name="timeSeriesStatsMonthlyMaxRestart"')
lines.append(' type="input;output"')
if ocn_grid.startswith("oRRS1"):
if ocn_grid.startswith("oRRS1") or ocn_grid.startswith("RRSwISC6"):
lines.append(' io_type="pnetcdf,cdf5"')
else:
lines.append(' io_type="{}"'.format(ocn_pio_typename))
Expand All @@ -1559,7 +1573,7 @@ def buildnml(case, caseroot, compname):
lines.append('')
lines.append('<stream name="timeSeriesStatsMonthlyMinRestart"')
lines.append(' type="input;output"')
if ocn_grid.startswith("oRRS1"):
if ocn_grid.startswith("oRRS1") or ocn_grid.startswith("RRSwISC6"):
lines.append(' io_type="pnetcdf,cdf5"')
else:
lines.append(' io_type="{}"'.format(ocn_pio_typename))
Expand Down
Loading
Loading