Skip to content

Commit

Permalink
MOM6: Adds a vector of default values to get_param_real_array()
Browse files Browse the repository at this point in the history
- NOAA-GFDL/MOM6@033714784 Adds a vector of default values to get_param_real_array()
- NOAA-GFDL/MOM6@cfb53f16b Removed default for mandatory time scale in OBCs
- NOAA-GFDL/MOM6@ac6e43dd3 Make REMAPPING_USE_OM4_SUBCELLS the default
- NOAA-GFDL/MOM6@20888e36e Remove extra copy of compute_global_grid_integrals
- NOAA-GFDL/MOM6@51b4fb637 Bug fix for write_energy with short dt (#749)
  • Loading branch information
mom6bot committed Dec 5, 2024
1 parent d99e487 commit 64406e1
Show file tree
Hide file tree
Showing 95 changed files with 135 additions and 57 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1479,7 +1479,7 @@ EVAP_CFL_LIMIT = 0.8 ! [nondim] default = 0.8
! The largest fraction of a layer than can be lost to forcing (e.g. evaporation,
! sea-ice formation) in one time-step. The unused mass loss is passed down
! through the column.
MLD_EN_VALS = 3*0.0 ! [J/m2] default = 0.0
MLD_EN_VALS = 25.0, 2500.0, 2.5E+05 ! [J/m2] default = 25.0, 2500.0, 2.5E+05
! The energy values used to compute MLDs. If not set (or all set to 0.), the
! default will overwrite to 25., 2500., 250000.
DIAG_MLD_DENSITY_DIFF = 0.1 ! [kg/m3] default = 0.1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1479,7 +1479,7 @@ EVAP_CFL_LIMIT = 0.8 ! [nondim] default = 0.8
! The largest fraction of a layer than can be lost to forcing (e.g. evaporation,
! sea-ice formation) in one time-step. The unused mass loss is passed down
! through the column.
MLD_EN_VALS = 3*0.0 ! [J/m2] default = 0.0
MLD_EN_VALS = 25.0, 2500.0, 2.5E+05 ! [J/m2] default = 25.0, 2500.0, 2.5E+05
! The energy values used to compute MLDs. If not set (or all set to 0.), the
! default will overwrite to 25., 2500., 250000.
DIAG_MLD_DENSITY_DIFF = 0.1 ! [kg/m3] default = 0.1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1479,7 +1479,7 @@ EVAP_CFL_LIMIT = 0.8 ! [nondim] default = 0.8
! The largest fraction of a layer than can be lost to forcing (e.g. evaporation,
! sea-ice formation) in one time-step. The unused mass loss is passed down
! through the column.
MLD_EN_VALS = 3*0.0 ! [J/m2] default = 0.0
MLD_EN_VALS = 25.0, 2500.0, 2.5E+05 ! [J/m2] default = 25.0, 2500.0, 2.5E+05
! The energy values used to compute MLDs. If not set (or all set to 0.), the
! default will overwrite to 25., 2500., 250000.
DIAG_MLD_DENSITY_DIFF = 0.1 ! [kg/m3] default = 0.1
Expand Down
2 changes: 1 addition & 1 deletion ice_ocean_SIS2/Baltic/MOM_parameter_doc.all
Original file line number Diff line number Diff line change
Expand Up @@ -1479,7 +1479,7 @@ EVAP_CFL_LIMIT = 0.8 ! [nondim] default = 0.8
! The largest fraction of a layer than can be lost to forcing (e.g. evaporation,
! sea-ice formation) in one time-step. The unused mass loss is passed down
! through the column.
MLD_EN_VALS = 3*0.0 ! [J/m2] default = 0.0
MLD_EN_VALS = 25.0, 2500.0, 2.5E+05 ! [J/m2] default = 25.0, 2500.0, 2.5E+05
! The energy values used to compute MLDs. If not set (or all set to 0.), the
! default will overwrite to 25., 2500., 250000.
DIAG_MLD_DENSITY_DIFF = 0.1 ! [kg/m3] default = 0.1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1774,7 +1774,7 @@ EVAP_CFL_LIMIT = 0.8 ! [nondim] default = 0.8
! The largest fraction of a layer than can be lost to forcing (e.g. evaporation,
! sea-ice formation) in one time-step. The unused mass loss is passed down
! through the column.
MLD_EN_VALS = 3*0.0 ! [J/m2] default = 0.0
MLD_EN_VALS = 25.0, 2500.0, 2.5E+05 ! [J/m2] default = 25.0, 2500.0, 2.5E+05
! The energy values used to compute MLDs. If not set (or all set to 0.), the
! default will overwrite to 25., 2500., 250000.
DIAG_MLD_DENSITY_DIFF = 0.1 ! [kg/m3] default = 0.1
Expand Down
2 changes: 1 addition & 1 deletion ice_ocean_SIS2/Baltic_OM4_025/MOM_parameter_doc.all
Original file line number Diff line number Diff line change
Expand Up @@ -1786,7 +1786,7 @@ EVAP_CFL_LIMIT = 0.8 ! [nondim] default = 0.8
! The largest fraction of a layer than can be lost to forcing (e.g. evaporation,
! sea-ice formation) in one time-step. The unused mass loss is passed down
! through the column.
MLD_EN_VALS = 3*0.0 ! [J/m2] default = 0.0
MLD_EN_VALS = 25.0, 2500.0, 2.5E+05 ! [J/m2] default = 25.0, 2500.0, 2.5E+05
! The energy values used to compute MLDs. If not set (or all set to 0.), the
! default will overwrite to 25., 2500., 250000.
DIAG_MLD_DENSITY_DIFF = 0.1 ! [kg/m3] default = 0.1
Expand Down
2 changes: 1 addition & 1 deletion ice_ocean_SIS2/Baltic_OM4_05/MOM_parameter_doc.all
Original file line number Diff line number Diff line change
Expand Up @@ -1805,7 +1805,7 @@ EVAP_CFL_LIMIT = 0.8 ! [nondim] default = 0.8
! The largest fraction of a layer than can be lost to forcing (e.g. evaporation,
! sea-ice formation) in one time-step. The unused mass loss is passed down
! through the column.
MLD_EN_VALS = 3*0.0 ! [J/m2] default = 0.0
MLD_EN_VALS = 25.0, 2500.0, 2.5E+05 ! [J/m2] default = 25.0, 2500.0, 2.5E+05
! The energy values used to compute MLDs. If not set (or all set to 0.), the
! default will overwrite to 25., 2500., 250000.
DIAG_MLD_DENSITY_DIFF = 0.1 ! [kg/m3] default = 0.1
Expand Down
2 changes: 1 addition & 1 deletion ice_ocean_SIS2/OM4_025/MOM_parameter_doc.all
Original file line number Diff line number Diff line change
Expand Up @@ -1786,7 +1786,7 @@ EVAP_CFL_LIMIT = 0.8 ! [nondim] default = 0.8
! The largest fraction of a layer than can be lost to forcing (e.g. evaporation,
! sea-ice formation) in one time-step. The unused mass loss is passed down
! through the column.
MLD_EN_VALS = 3*0.0 ! [J/m2] default = 0.0
MLD_EN_VALS = 25.0, 2500.0, 2.5E+05 ! [J/m2] default = 25.0, 2500.0, 2.5E+05
! The energy values used to compute MLDs. If not set (or all set to 0.), the
! default will overwrite to 25., 2500., 250000.
DIAG_MLD_DENSITY_DIFF = 0.1 ! [kg/m3] default = 0.1
Expand Down
2 changes: 1 addition & 1 deletion ice_ocean_SIS2/OM4_05/MOM_parameter_doc.all
Original file line number Diff line number Diff line change
Expand Up @@ -1805,7 +1805,7 @@ EVAP_CFL_LIMIT = 0.8 ! [nondim] default = 0.8
! The largest fraction of a layer than can be lost to forcing (e.g. evaporation,
! sea-ice formation) in one time-step. The unused mass loss is passed down
! through the column.
MLD_EN_VALS = 3*0.0 ! [J/m2] default = 0.0
MLD_EN_VALS = 25.0, 2500.0, 2.5E+05 ! [J/m2] default = 25.0, 2500.0, 2.5E+05
! The energy values used to compute MLDs. If not set (or all set to 0.), the
! default will overwrite to 25., 2500., 250000.
DIAG_MLD_DENSITY_DIFF = 0.1 ! [kg/m3] default = 0.1
Expand Down
2 changes: 1 addition & 1 deletion ice_ocean_SIS2/OM_1deg/MOM_parameter_doc.all
Original file line number Diff line number Diff line change
Expand Up @@ -1776,7 +1776,7 @@ EVAP_CFL_LIMIT = 0.8 ! [nondim] default = 0.8
! The largest fraction of a layer than can be lost to forcing (e.g. evaporation,
! sea-ice formation) in one time-step. The unused mass loss is passed down
! through the column.
MLD_EN_VALS = 3*0.0 ! [J/m2] default = 0.0
MLD_EN_VALS = 25.0, 2500.0, 2.5E+05 ! [J/m2] default = 25.0, 2500.0, 2.5E+05
! The energy values used to compute MLDs. If not set (or all set to 0.), the
! default will overwrite to 25., 2500., 250000.
DIAG_MLD_DENSITY_DIFF = 0.1 ! [kg/m3] default = 0.1
Expand Down
3 changes: 2 additions & 1 deletion ice_ocean_SIS2/SIS2/MOM_parameter_doc.all
Original file line number Diff line number Diff line change
Expand Up @@ -515,6 +515,7 @@ THICKNESS_CONFIG = "file" ! default = "uniform"
! uniform - uniform thickness layers evenly distributed
! between the surface and MAXIMUM_DEPTH.
! list - read a list of positive interface depths.
! param - use thicknesses from parameter THICKNESS_INIT_VALUES.
! DOME - use a slope and channel configuration for the
! DOME sill-overflow test case.
! ISOMIP - use a configuration for the
Expand Down Expand Up @@ -1445,7 +1446,7 @@ EVAP_CFL_LIMIT = 0.8 ! [nondim] default = 0.8
! The largest fraction of a layer than can be lost to forcing (e.g. evaporation,
! sea-ice formation) in one time-step. The unused mass loss is passed down
! through the column.
MLD_EN_VALS = 3*0.0 ! [J/m2] default = 0.0
MLD_EN_VALS = 25.0, 2500.0, 2.5E+05 ! [J/m2] default = 25.0, 2500.0, 2.5E+05
! The energy values used to compute MLDs. If not set (or all set to 0.), the
! default will overwrite to 25., 2500., 250000.
DIAG_MLD_DENSITY_DIFF = 0.1 ! [kg/m3] default = 0.1
Expand Down
1 change: 1 addition & 0 deletions ice_ocean_SIS2/SIS2/MOM_parameter_doc.short
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,7 @@ THICKNESS_CONFIG = "file" ! default = "uniform"
! uniform - uniform thickness layers evenly distributed
! between the surface and MAXIMUM_DEPTH.
! list - read a list of positive interface depths.
! param - use thicknesses from parameter THICKNESS_INIT_VALUES.
! DOME - use a slope and channel configuration for the
! DOME sill-overflow test case.
! ISOMIP - use a configuration for the
Expand Down
3 changes: 2 additions & 1 deletion ice_ocean_SIS2/SIS2_bergs_cgrid/MOM_parameter_doc.all
Original file line number Diff line number Diff line change
Expand Up @@ -515,6 +515,7 @@ THICKNESS_CONFIG = "file" ! default = "uniform"
! uniform - uniform thickness layers evenly distributed
! between the surface and MAXIMUM_DEPTH.
! list - read a list of positive interface depths.
! param - use thicknesses from parameter THICKNESS_INIT_VALUES.
! DOME - use a slope and channel configuration for the
! DOME sill-overflow test case.
! ISOMIP - use a configuration for the
Expand Down Expand Up @@ -1445,7 +1446,7 @@ EVAP_CFL_LIMIT = 0.8 ! [nondim] default = 0.8
! The largest fraction of a layer than can be lost to forcing (e.g. evaporation,
! sea-ice formation) in one time-step. The unused mass loss is passed down
! through the column.
MLD_EN_VALS = 3*0.0 ! [J/m2] default = 0.0
MLD_EN_VALS = 25.0, 2500.0, 2.5E+05 ! [J/m2] default = 25.0, 2500.0, 2.5E+05
! The energy values used to compute MLDs. If not set (or all set to 0.), the
! default will overwrite to 25., 2500., 250000.
DIAG_MLD_DENSITY_DIFF = 0.1 ! [kg/m3] default = 0.1
Expand Down
1 change: 1 addition & 0 deletions ice_ocean_SIS2/SIS2_bergs_cgrid/MOM_parameter_doc.short
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,7 @@ THICKNESS_CONFIG = "file" ! default = "uniform"
! uniform - uniform thickness layers evenly distributed
! between the surface and MAXIMUM_DEPTH.
! list - read a list of positive interface depths.
! param - use thicknesses from parameter THICKNESS_INIT_VALUES.
! DOME - use a slope and channel configuration for the
! DOME sill-overflow test case.
! ISOMIP - use a configuration for the
Expand Down
3 changes: 2 additions & 1 deletion ice_ocean_SIS2/SIS2_cgrid/MOM_parameter_doc.all
Original file line number Diff line number Diff line change
Expand Up @@ -515,6 +515,7 @@ THICKNESS_CONFIG = "file" ! default = "uniform"
! uniform - uniform thickness layers evenly distributed
! between the surface and MAXIMUM_DEPTH.
! list - read a list of positive interface depths.
! param - use thicknesses from parameter THICKNESS_INIT_VALUES.
! DOME - use a slope and channel configuration for the
! DOME sill-overflow test case.
! ISOMIP - use a configuration for the
Expand Down Expand Up @@ -1445,7 +1446,7 @@ EVAP_CFL_LIMIT = 0.8 ! [nondim] default = 0.8
! The largest fraction of a layer than can be lost to forcing (e.g. evaporation,
! sea-ice formation) in one time-step. The unused mass loss is passed down
! through the column.
MLD_EN_VALS = 3*0.0 ! [J/m2] default = 0.0
MLD_EN_VALS = 25.0, 2500.0, 2.5E+05 ! [J/m2] default = 25.0, 2500.0, 2.5E+05
! The energy values used to compute MLDs. If not set (or all set to 0.), the
! default will overwrite to 25., 2500., 250000.
DIAG_MLD_DENSITY_DIFF = 0.1 ! [kg/m3] default = 0.1
Expand Down
1 change: 1 addition & 0 deletions ice_ocean_SIS2/SIS2_cgrid/MOM_parameter_doc.short
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,7 @@ THICKNESS_CONFIG = "file" ! default = "uniform"
! uniform - uniform thickness layers evenly distributed
! between the surface and MAXIMUM_DEPTH.
! list - read a list of positive interface depths.
! param - use thicknesses from parameter THICKNESS_INIT_VALUES.
! DOME - use a slope and channel configuration for the
! DOME sill-overflow test case.
! ISOMIP - use a configuration for the
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -425,6 +425,7 @@ THICKNESS_CONFIG = "uniform" ! default = "uniform"
! uniform - uniform thickness layers evenly distributed
! between the surface and MAXIMUM_DEPTH.
! list - read a list of positive interface depths.
! param - use thicknesses from parameter THICKNESS_INIT_VALUES.
! DOME - use a slope and channel configuration for the
! DOME sill-overflow test case.
! ISOMIP - use a configuration for the
Expand Down Expand Up @@ -1042,7 +1043,7 @@ EVAP_CFL_LIMIT = 0.8 ! [nondim] default = 0.8
! The largest fraction of a layer than can be lost to forcing (e.g. evaporation,
! sea-ice formation) in one time-step. The unused mass loss is passed down
! through the column.
MLD_EN_VALS = 3*0.0 ! [J/m2] default = 0.0
MLD_EN_VALS = 25.0, 2500.0, 2.5E+05 ! [J/m2] default = 25.0, 2500.0, 2.5E+05
! The energy values used to compute MLDs. If not set (or all set to 0.), the
! default will overwrite to 25., 2500., 250000.
HREF_FOR_MLD = 0.0 ! [m] default = 0.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -545,6 +545,7 @@ THICKNESS_CONFIG = "coord" ! default = "uniform"
! uniform - uniform thickness layers evenly distributed
! between the surface and MAXIMUM_DEPTH.
! list - read a list of positive interface depths.
! param - use thicknesses from parameter THICKNESS_INIT_VALUES.
! DOME - use a slope and channel configuration for the
! DOME sill-overflow test case.
! ISOMIP - use a configuration for the
Expand Down Expand Up @@ -1173,7 +1174,7 @@ EVAP_CFL_LIMIT = 0.8 ! [nondim] default = 0.8
! The largest fraction of a layer than can be lost to forcing (e.g. evaporation,
! sea-ice formation) in one time-step. The unused mass loss is passed down
! through the column.
MLD_EN_VALS = 3*0.0 ! [J/m2] default = 0.0
MLD_EN_VALS = 25.0, 2500.0, 2.5E+05 ! [J/m2] default = 25.0, 2500.0, 2.5E+05
! The energy values used to compute MLDs. If not set (or all set to 0.), the
! default will overwrite to 25., 2500., 250000.
HREF_FOR_MLD = 0.0 ! [m] default = 0.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ THICKNESS_CONFIG = "coord" ! default = "uniform"
! uniform - uniform thickness layers evenly distributed
! between the surface and MAXIMUM_DEPTH.
! list - read a list of positive interface depths.
! param - use thicknesses from parameter THICKNESS_INIT_VALUES.
! DOME - use a slope and channel configuration for the
! DOME sill-overflow test case.
! ISOMIP - use a configuration for the
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -545,6 +545,7 @@ THICKNESS_CONFIG = "coord" ! default = "uniform"
! uniform - uniform thickness layers evenly distributed
! between the surface and MAXIMUM_DEPTH.
! list - read a list of positive interface depths.
! param - use thicknesses from parameter THICKNESS_INIT_VALUES.
! DOME - use a slope and channel configuration for the
! DOME sill-overflow test case.
! ISOMIP - use a configuration for the
Expand Down Expand Up @@ -1170,7 +1171,7 @@ EVAP_CFL_LIMIT = 0.8 ! [nondim] default = 0.8
! The largest fraction of a layer than can be lost to forcing (e.g. evaporation,
! sea-ice formation) in one time-step. The unused mass loss is passed down
! through the column.
MLD_EN_VALS = 3*0.0 ! [J/m2] default = 0.0
MLD_EN_VALS = 25.0, 2500.0, 2.5E+05 ! [J/m2] default = 25.0, 2500.0, 2.5E+05
! The energy values used to compute MLDs. If not set (or all set to 0.), the
! default will overwrite to 25., 2500., 250000.
HREF_FOR_MLD = 0.0 ! [m] default = 0.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ THICKNESS_CONFIG = "coord" ! default = "uniform"
! uniform - uniform thickness layers evenly distributed
! between the surface and MAXIMUM_DEPTH.
! list - read a list of positive interface depths.
! param - use thicknesses from parameter THICKNESS_INIT_VALUES.
! DOME - use a slope and channel configuration for the
! DOME sill-overflow test case.
! ISOMIP - use a configuration for the
Expand Down
Loading

0 comments on commit 64406e1

Please sign in to comment.