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

Prepare for PR to dev/gfdl #6

Open
wants to merge 1,581 commits into
base: merge-bgc-obc-3_fix_restart
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1581 commits
Select commit Hold shift + click to select a range
12af900
Use unscale arguments in 384 checksum calls
Hallberg-NOAA Jun 5, 2024
2c1a9d3
+Add and use query_debugging_checks
Hallberg-NOAA Jul 12, 2024
00f7d23
(*)+Restore USE_WRIGHT_2ND_DERIV_BUG functionality
Hallberg-NOAA Jul 14, 2024
40f4721
*Possibly initialize h_ML from MLD in restart file
Hallberg-NOAA Jul 19, 2024
ee686c8
Improve MOM_surface_chksum
Hallberg-NOAA Jul 18, 2024
85c72b8
Inline harmonic analysis
c2xu Jun 12, 2024
caae653
Inline harmonic analysis
c2xu Jul 23, 2024
0440ed4
Perform unit conversion for internal heat only when it is applicable
yichengt900 Jul 19, 2024
a8d43f7
Adding Bodner reference
kshedstrom Jul 23, 2024
d76926c
Failing attempt to link to mle docs.
kshedstrom Jul 23, 2024
780d931
Two more references
kshedstrom Jul 23, 2024
ec40a7c
Working on documentation links
kshedstrom Jul 24, 2024
0e17b73
Added Young reference
kshedstrom Jul 24, 2024
369d716
Fix line length in comment
kshedstrom Jul 24, 2024
86b4c85
Delete duplicate entry
kshedstrom Jul 24, 2024
fb40a4a
Another duplicate bib entry
kshedstrom Jul 24, 2024
4fa86fd
Another duplicate ref
kshedstrom Jul 25, 2024
d93f8bf
Clean out another duplicate ref.
kshedstrom Jul 25, 2024
078ec30
Fix the Accad ref.
kshedstrom Jul 25, 2024
da3ec99
still cleaning the docs
kshedstrom Jul 25, 2024
b7fee4d
Fix case
kshedstrom Jul 26, 2024
4f1ecf4
Cleaning up tides section
kshedstrom Jul 26, 2024
1b39d07
*+Fix non-Boussinesq MASS_WEIGHT_IN_PGF bug
Hallberg-NOAA Jul 23, 2024
aacb909
Merge pull request #1631 from NOAA-GFDL/gfdl-to-main-2024-05-31
marshallward Jul 29, 2024
6628dbf
(*)Parenthesize squares of wind stresses for FMAs
Hallberg-NOAA Mar 1, 2024
f0e61f3
(*)Parenthesize continuity_PPM curv_3 expressions
Hallberg-NOAA Feb 29, 2024
4f710ef
(*)Add parentheses for oblique OBCs with FMAs
Hallberg-NOAA Mar 1, 2024
9172cd5
(*)Add parentheses for density_integrals with FMAs
Hallberg-NOAA Mar 1, 2024
24091cc
(*)Add parentheses to 4 EOS int_density routines
Hallberg-NOAA Mar 1, 2024
8066a3d
(*)Simplify density integral parentheses
Hallberg-NOAA Mar 4, 2024
99fd957
(*)Parenthesize PressureForce_Montgomery for FMAs
Hallberg-NOAA Mar 1, 2024
307a4e2
(*)Parenthesize calc_isoneutral_slopes for FMAs
Hallberg-NOAA Mar 1, 2024
ce559ce
(*)Parenthesize MOM_calc_varT for FMAs
Hallberg-NOAA Mar 1, 2024
c344a11
(*)Parenthesize tracer_hordiff for FMAs
Hallberg-NOAA Mar 1, 2024
b2beab2
(*)Parenthesize iceberg_forces for FMAs
Hallberg-NOAA Mar 1, 2024
5398e6f
(*)Parenthesize CoriolisStokes and LA_Stk for FMAs
Hallberg-NOAA Mar 1, 2024
56d053a
+(*)Add and use G%Coriolis2Bu
Hallberg-NOAA Mar 1, 2024
49419f7
(*)Parenthesize thickness_diffuse for FMAs
Hallberg-NOAA Mar 1, 2024
03dc6f9
(*)Parenthesize Zanna_Bolton for FMAs
Hallberg-NOAA Mar 1, 2024
654cd4a
(*)Parenthesize MOM_internal_tides for FMAs
Hallberg-NOAA Mar 1, 2024
ebf02a9
(*)Parenthesize find_uv_at_h for FMAs
Hallberg-NOAA Mar 1, 2024
c0bef18
(*)Parenthesize set_viscous_ML for FMAs
Hallberg-NOAA Mar 1, 2024
0b50a15
(*)Rearrange calc_kappa_shear_vertex for FMAs
Hallberg-NOAA Mar 1, 2024
f0c52dd
(*)Parenthesize MOM_set_diffusivity for FMAs
Hallberg-NOAA Mar 1, 2024
64b851c
(*)Parenthesize CorAdCalc for FMAs
Hallberg-NOAA Mar 1, 2024
46e8b66
(*)Parenthesize MOM_barotropic for FMAs
Hallberg-NOAA Mar 1, 2024
6216fa1
(*)Parenthesize MOM_lateral_mixing_coeffs for FMAs
Hallberg-NOAA Mar 2, 2024
ffef92f
(*)Parenthesize MOM_hor_visc for FMAs
Hallberg-NOAA Apr 18, 2024
fc2af28
(*)Parenthesize initialization squares for FMAs
Hallberg-NOAA Mar 3, 2024
44f1130
(*)Parenthesize parameterization squares for FMAs
Hallberg-NOAA Mar 3, 2024
182223c
(*)Parenthesize diagnostics for FMAs
Hallberg-NOAA Apr 30, 2024
e810ac5
(*)Parenthesize tracer_advect PPM edge values
Hallberg-NOAA May 5, 2024
c3349ab
Merge branch 'main' into main-to-gfdl_2024-05-31
adcroft Jul 30, 2024
90749f3
Fix logic for reading parameter in MOM_tracer_advect.F90
adcroft Jul 31, 2024
ffa766b
(*)More parentheses in density_integrals for FMAs
Hallberg-NOAA Jul 31, 2024
87a0c61
Removes remap_via_sub_cells(), after copying code into remapping_core…
adcroft Jul 25, 2024
0344a76
Add gustless Tau to fluxes extracted from IOB by FMS cap.
Aug 1, 2024
fd82861
(*)Add parentheses in end_value_h4 for FMAs
Hallberg-NOAA Aug 2, 2024
da59eb0
Adds new pre-defined coordinate WOA09INT
adcroft Jul 25, 2024
fee3281
Adds new pre-defined coordinate WOA23INT
adcroft Jul 25, 2024
e30a6e7
Fix bugs in setting GxSpV_u and GxSpV_v in MOM_isopycnal_slopes (#701)
Wendazhang33 Aug 2, 2024
906d96a
Add option to use non-surface density in MLD_003
Aug 2, 2024
f1ba822
Move MLD Diagnostics out of MOM_diabatic_aux.F90
Aug 2, 2024
4b8777e
Merge pull request #135 from DeniseWorthen/bugfix/initcplscalars
jiandewang Aug 6, 2024
5c9aee9
Merge branch 'NOAA-EMC:dev/emc' into feature/update-to-main-20240531
jiandewang Aug 6, 2024
22c9cbc
+Move array_global_min_max to MOM_spatial_means
Hallberg-NOAA Jul 10, 2024
9b45087
+Add runtime parameter WRITE_TRACER_MIN_MAX
Hallberg-NOAA Jul 10, 2024
00f8ea2
Merge pull request #136 from jiandewang/feature/update-to-main-20240531
jiandewang Aug 16, 2024
a78aa57
* Fix for spatially varying Bodner fields.
kshedstrom Aug 16, 2024
42c1a32
Fix USE_CONT_THICKNESS bug
awallcraft Jul 29, 2024
2024f6f
Directional linear wave drag (#703)
c2xu Aug 21, 2024
d234bce
Restore computation of vorticity in MOM_hor_visc.F90
Pperezhogin Aug 19, 2024
ce58a32
Merge pull request #1634 from Hallberg-NOAA/FMA_rotational_symmetry_main
Hallberg-NOAA Aug 24, 2024
e4df846
Merge remote-tracking branch 'MAIN/main' into feature/update-to-main-…
jiandewang Aug 25, 2024
a6dd0fd
Makedep output cleanup and PEP8 fixes
marshallward Aug 6, 2024
1eccd28
Merge branch 'main' into dev/gfdl
Hallberg-NOAA Sep 4, 2024
91eee52
Inline harmonic analysis
c2xu Sep 6, 2024
5e0c21f
Merge pull request #138 from jiandewang/feature/update-to-main-20240824
jiandewang Sep 9, 2024
2316ae5
diffusivities from internal tides ray tracing algo (#677)
raphaeldussin Sep 9, 2024
95744a7
Streaming filter (#675)
c2xu Sep 10, 2024
ffff6f3
+Optionally use SSH in calculate density for PGF
Hallberg-NOAA Jul 29, 2024
9b9c165
(*)Refactor p_ave calculation
Hallberg-NOAA Sep 7, 2024
5fc90eb
Rotate ice shelf forcing and initialization
Hallberg-NOAA Aug 17, 2024
05d8cc3
Merge pull request #1639 from jiandewang/dev-emc-20240909-cpl-scalar
jiandewang Sep 14, 2024
70a48e3
+Add MASS_WEIGHT_IN_PRESSURE_GRADIENT_TOP
claireyung Apr 30, 2024
8520c9f
+Add top mass_weight_in_PGF option to 13 integrals
Hallberg-NOAA Jul 24, 2024
e172fe8
+Add CORRECTION_INTXPA
claireyung Apr 30, 2024
15ea628
+Add CORRECTION_INTXPA_5PT
claireyung Apr 30, 2024
1b9bf67
+Add RESET_INTXPA_INTEGRAL
claireyung Apr 30, 2024
7a9545a
Revisions of sub-ice pressure gradient fixes
Hallberg-NOAA Jul 19, 2024
4cf1590
*Refactor CORRECTION_INTX_PA
Hallberg-NOAA Jul 29, 2024
15fd31c
*Non-Boussinesq code for RESET_INTXPA_INTEGRAL
Hallberg-NOAA Aug 5, 2024
5fceecf
+(*)Add 5-point quadrature in RESET_INTXPA_INTEGRAL
Hallberg-NOAA Aug 20, 2024
bdf4b9e
+(*)Eliminate CORRECTION_INTXPA_5PT
Hallberg-NOAA Sep 16, 2024
0363d2b
*Set MASS_WEIGHT_IN_PRESSURE_GRADIENT in .testing
Hallberg-NOAA Sep 16, 2024
1830b8e
Dummy code to suppress errors in posix.F90
marshallward Sep 6, 2024
e05cc01
F2023: Fix argument orders and IO statements
marshallward Sep 9, 2024
b67e93a
Reorder arguments in FMS_cap functions
marshallward Sep 12, 2024
b2db6bf
CI: Fortran 2018 testing
marshallward Sep 12, 2024
b3d7348
Change the default of VISC_REM_CONT_HVEL_FIX
herrwang0 Sep 12, 2024
ba59078
Separate scalar diagnostics for each ice sheet + parameters to contro…
alex-huth Sep 18, 2024
d3d9fc0
Merge branch 'main' into main-to-gfdl-2024-09-26
marshallward Sep 26, 2024
df2cd12
EBT Backscatter (#706)
ElizabethYankovsky Sep 27, 2024
e24cd3a
change CMOR names, fixes #709
Sep 27, 2024
5dcc8e0
Fix .testing make for regression tests
herrwang0 Sep 29, 2024
cfa8a3d
New diagnostics for flux divergence, strain-rates, deviatorics stress…
alex-huth Sep 19, 2024
9d4f9d1
Use loops instead of array syntax when calculating ice-shelf diagnost…
alex-huth Sep 30, 2024
b240e7e
change default for ice-shelf nonlin_solve_err_mode to 3
alex-huth Oct 1, 2024
f90b071
Ice-shelf FMAs (#729)
alex-huth Oct 7, 2024
80d8b5f
Bugfix in MOM_porous_barriers
herrwang0 Sep 18, 2024
79979a9
Update version of checkout action (@v4)
adcroft Apr 10, 2024
795e982
Switch runner and allow for more run time
adcroft Oct 29, 2024
e189e05
+Eliminated h_neglect argument to remapping_core_h
Hallberg-NOAA Feb 27, 2024
3d37f13
Change default of USE_POROUS_BARRIER to false
herrwang0 Oct 3, 2024
96a91f5
Set truncation file handle check from < 0 to == -1 (#739)
marshallward Nov 1, 2024
88ee9dd
CI: Consolidate unit test rules, codecov pathfix
marshallward Oct 31, 2024
a6d27cf
adding a constant mixing efficiency to internal tides
Oct 24, 2024
76915ff
Revert the change from VISC_REM_CONT_VEL_FIX
herrwang0 Oct 27, 2024
dbb3601
Rename VISC_REM bugfix parameters
herrwang0 Oct 27, 2024
13cc946
Replace hard-coded parameter Rrho0 with runtime parameter Max_Rrho_sa…
Oct 29, 2024
31a4d8b
Add REMAPPING_SCHEME for OBC, ODA and SPONGE (#751)
awallcraft Nov 8, 2024
7a9adbc
Add SQG vertical structure to eddy diffusivities (#738)
Wendazhang33 Nov 13, 2024
2b72682
*+HOR_VISC_ANSWER_DATE logic fix
Hallberg-NOAA Nov 25, 2024
51b4fb6
Bug fix for write_energy with short dt (#749)
herrwang0 Nov 30, 2024
20888e3
Remove extra copy of compute_global_grid_integrals
Hallberg-NOAA Nov 30, 2024
ac6e43d
Make REMAPPING_USE_OM4_SUBCELLS the default
awallcraft Nov 22, 2024
cfb53f1
Removed default for mandatory time scale in OBCs
adcroft Dec 2, 2024
0337147
Adds a vector of default values to get_param_real_array()
adcroft Nov 26, 2024
0fdb47c
FMS API: Convert real kind of constants
marshallward Dec 8, 2024
f920c1a
Inline harmonic analysis (#744)
c2xu Dec 9, 2024
78a7936
Tidal angular frequency has units [rad s-1] (#764)
awallcraft Dec 9, 2024
00fdee4
Refactor of vertical reconstruction adding six new schemes (#741)
adcroft Dec 11, 2024
8cc8b70
Flexible restart write times (restart_fh) (#139)
NickSzapiro-NOAA Dec 11, 2024
61e3bcf
add diagnostic for Kd_Work related to the Kd_add part (#765)
raphaeldussin Dec 11, 2024
3c39818
+*Obsolete WIND_CONFIG = "SCM_ideal_hurr" (#770)
Hallberg-NOAA Dec 11, 2024
af76c6c
*Fix a bug when EPBL_ORIGINAL_PE_CALC is false
Hallberg-NOAA Sep 4, 2024
8f0a593
+Add EPBL_MLD_ITER_BUG runtime parameter
Hallberg-NOAA Nov 18, 2024
18dffbf
+Add run-time ability to debug ePBL sensitivities
Hallberg-NOAA Nov 17, 2024
2e8e2a5
+Add and test find_Kd_from_PE_chg
Hallberg-NOAA Nov 21, 2024
4a53050
+(*)Add ePBL bottom boundary mixing option
Hallberg-NOAA Sep 4, 2024
d8a270b
+Add DECAY_ADJUSTED_BBL_TKE option for ePBL BBL
Hallberg-NOAA Nov 29, 2024
a3cef87
+Add optional unscale argument to reproducing_sum
Hallberg-NOAA Dec 6, 2024
7060d51
+Add RZL2_to_kg element to unit_scale_type
Hallberg-NOAA Dec 11, 2024
8dcb6a4
Work in rescaled units in write_energy
Hallberg-NOAA Dec 11, 2024
a4d13e8
Use reproducing_sum with unscale in 5 places
Hallberg-NOAA Dec 11, 2024
e6e0870
Bug fix related to directional internal wave drag (#774)
c2xu Dec 12, 2024
dae6226
Fix indexing error in extract_surface_state
herrwang0 Dec 21, 2024
8062d20
Minor change of SSH check in extract_surface_state
herrwang0 Dec 21, 2024
9371bb0
Recover diagnostic "SSH_inst"
herrwang0 Dec 21, 2024
9564493
Update MOM_wave_interface.F90 (#784)
Zeracesharon Dec 30, 2024
45add79
Updates to use EPBL_BBL_EFFIC
Dec 31, 2024
fcf5fff
Move MOM_generic_tracer with no changes (#22)
theresa-cordero Dec 31, 2024
81ea4b6
Corrected the rescaling of 5 KPP diagnostics
Hallberg-NOAA Jan 1, 2025
7846b80
+Add a vector of defaults to get_param_array_int
Hallberg-NOAA Jan 1, 2025
59ad6b2
MEKE: Split src and src_GM compute loops
marshallward Dec 15, 2024
4a3b4b2
MEKE: Conditionally compute biharmonic FrCoeff
marshallward Dec 16, 2024
0d2d668
MEKE: Move flag test outside of FrictWork loop
marshallward Dec 17, 2024
345a6fb
MEKE: Move damping diagnostics outside MEKE loop
marshallward Dec 18, 2024
910aa38
Diffusivity: Revert int_tide_CS to pointer
marshallward Dec 19, 2024
c346c73
FMA rotation symmetric form of legacy FrictWork_bh
marshallward Jan 2, 2025
7ca5ed9
set descale in reproducing_sum_3d
yichengt900 Jan 6, 2025
3a623f0
Fix ALE_sponge tendency diagnostic units
Hallberg-NOAA Dec 30, 2024
5ccb388
Refactor horizontally_average_field
Hallberg-NOAA Dec 7, 2024
db94db8
+Refactor homogenize_field and revise its interface
Hallberg-NOAA Dec 7, 2024
3ad5cf2
Revise the ice_shelf dimensional rescaling
Hallberg-NOAA Dec 7, 2024
5d3d504
(*)Conversion arguments for ice shelf scalar diags
Hallberg-NOAA Jan 1, 2025
82d44fb
Users set solo driver forcing time records per day
Hallberg-NOAA Jan 2, 2025
776be84
Merge pull request #1647 from NOAA-GFDL/gfdl-to-main-2024-11-27
marshallward Jan 13, 2025
162aad8
Merge remote-tracking branch 'MAIN/main' into feature/update-to-main-…
jiandewang Jan 13, 2025
7a45c61
Merge branch 'main' into dev/gfdl
marshallward Jan 13, 2025
30df138
Fix dimensional rescaling in predict_MEKE
Hallberg-NOAA Jan 13, 2025
10d9523
Refactor SAL in MOM_PressureForce_FV
herrwang0 Jul 22, 2024
89fec6e
Add option for SAL to use bottom pressure anomaly
herrwang0 Jul 27, 2024
402949e
Rename variables with tides in Pressure Force
herrwang0 Sep 27, 2024
8039c33
Alternative method for SAL and tides in Boussinesq
herrwang0 Sep 27, 2024
36f763c
Remove rescaling bottom pressure in SAL
herrwang0 Oct 7, 2024
73a625d
Add answer date flag for tide/SAL
herrwang0 Jan 7, 2025
8e0b83c
Refactor Love_scaling calculation in SAL module
herrwang0 Jan 13, 2025
8249510
+Refactor MOM_opacity to replace hard-coded params
Hallberg-NOAA Dec 11, 2024
585d24d
implement spatially varying decay rates for internal tides leakage (#…
raphaeldussin Jan 14, 2025
dd1f3f5
Add ice shelf pressure initialisation bug fix (#800)
claireyung Jan 14, 2025
d8da512
+Add the optional argument old_name to get_param
Hallberg-NOAA Jan 5, 2025
400c982
+Add grid_unit_to_L to the ocean_grid_type
Hallberg-NOAA Dec 4, 2024
14f2c97
Update particles_run call to allow accurate particle advection using …
cspencerjones Dec 23, 2024
40a59f7
+Remove dyn_horgrid_type%Rad_Earth
Hallberg-NOAA Dec 8, 2024
73514f2
Nodal modulation
c2xu Sep 6, 2024
54feb6f
Correct unit conversion for BS_coeff_h diagnostic
Hallberg-NOAA Dec 12, 2024
83efb99
Streaming Filter
c2xu Dec 10, 2024
6fff095
Merge pull request #142 from jiandewang/feature/update-to-main-20241127
jiandewang Jan 21, 2025
bf35f31
Merge branch 'dev/gfdl' into rescale_predict_MEKE
theresa-cordero Jan 21, 2025
7a5adc7
+Refactor the spatial mean calculations
Hallberg-NOAA Dec 7, 2024
576fb41
Diagnose area integrated fluxes in rescaled units
Hallberg-NOAA Jan 19, 2025
83c7119
Fix rescaling of internal tide of debugging code
Hallberg-NOAA Nov 30, 2024
3be1543
Corrected many unit descriptions in comments
Hallberg-NOAA Jan 7, 2025
094eb54
Fix rotation in set_coupler_type_data
marshallward Jan 21, 2025
320aac2
Remove implicit copies in CT_extract_data rotation
marshallward Jan 23, 2025
2ade897
Refactor spherical_harmonics_forward
Hallberg-NOAA Dec 7, 2024
93227b3
Rescale 7 ice shelf variables
Hallberg-NOAA Jan 5, 2025
fcdf8db
+Rename visc%TKE_BBL to visc%BBL_meanKE_loss
Hallberg-NOAA Jan 8, 2025
e856749
+Rename fluxes%TKE_tidal to fluxes%BBL_tidal_dis
Hallberg-NOAA Jan 8, 2025
4f53784
+Add EPBL_BBL_TIDAL_EFFIC
Hallberg-NOAA Jan 19, 2025
a645328
+(*)EPBL_BBL_EFFIC_BUG & DRAG_DIFFUSIVITY_ANSWER_DATE
Hallberg-NOAA Jan 20, 2025
9fd0ecc
+Add alternate gravity variable GV%g_Earth_Z_T2
Hallberg-NOAA Jan 6, 2025
35d7e76
Revise rescaling in bulkmixedlayer
Hallberg-NOAA Jan 6, 2025
2370f7c
Rescale strat_floor
Hallberg-NOAA Jan 8, 2025
a40bbb9
Add Option to Specify Tracer Advection Time Step (#757)
theresa-cordero Jan 29, 2025
b4ab917
Encapsulate init_is_restart_fh in ifndef CESMCOUPED in config_src/dri…
NickSzapiro-NOAA Jan 30, 2025
a7f8fd5
Merge pull request #13 from NickSzapiro-NOAA/patch-1
jiandewang Jan 30, 2025
c54334e
+Add optional conversion argument to register_field
Hallberg-NOAA Dec 14, 2024
5c335ba
Specify conversion factors in write_energy
Hallberg-NOAA Dec 14, 2024
d6f3fa0
Fix 4 conversion arguments to var_desc calls
Hallberg-NOAA Dec 29, 2024
b239629
Deprecate TIDE_SAL_SCALAR_VALUE (#819)
herrwang0 Jan 31, 2025
68ece77
Calculate volo in scaled units
Hallberg-NOAA Jan 31, 2025
802248f
Rename masked_area in compute_global_grid_integral
Hallberg-NOAA Jan 31, 2025
6bf8c67
Fix the syntax or substance in 10 comment units
Hallberg-NOAA Jan 31, 2025
cbb8bfa
Switched the placeholder element of file_OBC_CS
Hallberg-NOAA Jan 31, 2025
e818ea4
Merge pull request #1651 from jiandewang/DEV-EMC-flexible-restart-202…
jiandewang Feb 3, 2025
bb66d8a
Merge branch 'main' into dev/gfdl
marshallward Feb 3, 2025
d4770e8
Correct bug in kappa shear viscosity with vertex shear option. (#824)
breichl Feb 5, 2025
1877681
+Add PHILLIPS_ANSWER_DATE runtime parameter
Hallberg-NOAA Dec 4, 2024
9aaf5e1
+Add zero_zeros optional arg to MOM_write_field
Hallberg-NOAA Dec 21, 2024
b41f0a4
+Add turns argument to MOM_read_data
Hallberg-NOAA Dec 23, 2024
463424c
(*)+Modified MOM_restart to fix rotated restarts
Hallberg-NOAA Dec 23, 2024
d5fd567
Describe the units of 33 real function results
Hallberg-NOAA Feb 5, 2025
84a7bc0
Add MASS_WEIGHT_IN_PGF_VANISHED_ONLY to modify mass weighting in PGF …
claireyung Feb 13, 2025
ec60bf1
+Obsoleted INTERNAL_TIDE_CORNER_ADVECT
Hallberg-NOAA Feb 6, 2025
075f8b3
Add option to use BT_CONT to calculate `dtbt` (#823)
herrwang0 Feb 13, 2025
38a0cb0
MOM_murmur_hash: MurmurHash3 implementation
marshallward Feb 7, 2025
c69f59e
+Find fluxes%netFWGlobalAdj in recsaled units
Hallberg-NOAA Feb 5, 2025
93067d0
Dimensional rescaling in MOM_state_stats
Hallberg-NOAA Feb 6, 2025
3b3fb5e
Frequency-dependent internal wave drag (#815)
c2xu Feb 16, 2025
9924a19
Passing shelf_sfc_mass_flux to ice shelf (#818)
OlgaSergienko Feb 18, 2025
a71e0fb
Debugging checksum on full range of Kh_h and Kh_q (#822)
Hallberg-NOAA Feb 19, 2025
51b1515
Correct indenting in ePBL_column
Hallberg-NOAA Feb 18, 2025
1344e7c
Add MLD_out to diagnose MLD (#832)
theresa-cordero Feb 19, 2025
0162098
+Revise the rescaled units of forces%tau_mag
Hallberg-NOAA Jan 10, 2025
e187090
Remove Prandtl_turb in vertvisc_type
herrwang0 Feb 19, 2025
809d56e
Refactor a few lines in vertical viscosity
herrwang0 Feb 19, 2025
ad0a8b8
+Add the new interface field_checksum
Hallberg-NOAA Dec 21, 2024
090e323
Refactor get_depth_list_checksum
Hallberg-NOAA Dec 21, 2024
86ed81f
Use field_checksum in save_restart & restore_state
Hallberg-NOAA Dec 28, 2024
5f23058
Bugfix for mixing up `Rho0` and `rho_ref` in Boussinesq PGF (#837)
herrwang0 Feb 24, 2025
9e7cfe9
Alternative interface to EQN_OF_STATE="LINEAR" (#842)
awallcraft Feb 25, 2025
5e4f97b
Fix interior obcs (#814)
kshedstrom Feb 26, 2025
23b2049
Move Regridding and Remapping Out of step_MOM_thermo (#761)
theresa-cordero Mar 3, 2025
3142c3f
Add `RESET_INTXPA_INTEGRAL_FLATTEST` option to pressure gradient (#843)
claireyung Mar 3, 2025
e3e9c69
Update btstep negative eta warning (#844)
awallcraft Mar 4, 2025
53bcb50
+Steps to correct Kelvin_initialization issues
Hallberg-NOAA Feb 22, 2025
4f0c1c6
Updates MOM_kappa_shear averaging and diagnostics. (#846)
breichl Mar 6, 2025
9e3cc84
*Improvements to internal Kelvin wave (#849)
kshedstrom Mar 6, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 3 additions & 3 deletions .codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ coverage:
default:
threshold: 100%
base: parent
comment:
# This must be set to the number of test cases (TCs)
after_n_builds: 8

fixes:
- "MOM6/::"
33 changes: 33 additions & 0 deletions .github/actions/macos-setup/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: 'install-macos-prerequisites'

description: 'Install prerequisites for Mac OS compilation'

runs:
using: 'composite'

steps:
- name: Install macOS packages
shell: bash
run: |
echo "::group::Install packages"
brew reinstall gcc
brew install automake
brew install netcdf
brew install netcdf-fortran
brew install mpich
echo "::endgroup::"

# NOTE: Floating point exceptions are currently disabled due to an error in
# HDF5 1.4.3. They will be re-enabled when the default brew version has
# been updated to a working version.

- name: Set compiler flags
shell: bash
run: |
cd .testing
echo "FCFLAGS_DEBUG = -g -O0 -Wextra -Wno-compare-reals -fbacktrace -fcheck=bounds" >> config.mk
echo "FCFLAGS_REPRO = -g -O2 -fbacktrace" >> config.mk
echo "FCFLAGS_INIT = -finit-real=snan -finit-integer=2147483647 -finit-derived" >> config.mk
echo "FCFLAGS_FMS = -g -fbacktrace -O0" >> config.mk
cat config.mk
echo "::endgroup::"
35 changes: 1 addition & 34 deletions .github/actions/testing-setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@ inputs:
description: 'If true, will build the symmetric MOM6 executable'
required: false
default: 'true'
install_python:
description: 'If true, will install the local python env needed for .testing'
required: false
default: 'true'
runs:
using: 'composite'
steps:
Expand All @@ -27,33 +23,12 @@ runs:
env
echo "::endgroup::"

- name: Install needed packages for compiling
shell: bash
run: |
echo "::group::Install linux packages"
sudo apt-get update
sudo apt-get install netcdf-bin libnetcdf-dev libnetcdff-dev mpich libmpich-dev
sudo apt-get install linux-tools-common
echo "::endgroup::"

- name: Compile FMS library
shell: bash
run: |
echo "::group::Compile FMS library"
cd .testing
make deps/lib/libFMS.a -s -j
echo "::endgroup::"

- name: Store compiler flags used in Makefile
shell: bash
run: |
echo "::group::config.mk"
cd .testing
echo "FCFLAGS_DEBUG=-g -O0 -Wextra -Wno-compare-reals -fbacktrace -ffpe-trap=invalid,zero,overflow -fcheck=bounds" >> config.mk
echo "FCFLAGS_REPRO=-g -O2 -fbacktrace" >> config.mk
echo "FCFLAGS_INIT=-finit-real=snan -finit-integer=2147483647 -finit-derived" >> config.mk
echo "FCFLAGS_COVERAGE=--coverage" >> config.mk
cat config.mk
REPORT_ERROR_LOGS=true make build/deps/lib/libFMS.a -s -j
echo "::endgroup::"

- name: Compile MOM6 in symmetric memory mode
Expand All @@ -64,14 +39,6 @@ runs:
test ${{ inputs.build_symmetric }} == true && make build/symmetric/MOM6 -j
echo "::endgroup::"

- name: Install local python venv for generating input data
shell: bash
run: |
echo "::group::Create local python env for input data generation"
cd .testing
test ${{ inputs.install_python }} == true && make work/local-env
echo "::endgroup::"

- name: Set flags
shell: bash
run: |
Expand Down
31 changes: 31 additions & 0 deletions .github/actions/ubuntu-setup/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: 'install-ubuntu-prerequisites'

description: 'Install prerequisites for Ubuntu Linux compilation'

runs:
using: 'composite'
steps:
- name: Install Ubuntu Linux packages
shell: bash
run: |
echo "::group::Install linux packages"
sudo apt-get update
sudo apt-get install netcdf-bin
sudo apt-get install libnetcdf-dev
sudo apt-get install libnetcdff-dev
sudo apt-get install openmpi-bin
sudo apt-get install libopenmpi-dev
sudo apt-get install linux-tools-common
echo "::endgroup::"

- name: Store compiler flags used in Makefile
shell: bash
run: |
echo "::group::config.mk"
cd .testing
echo "FCFLAGS_DEBUG = -g -O0 -std=f2018 -Wextra -Wno-compare-reals -fbacktrace -ffpe-trap=invalid,zero,overflow -fcheck=bounds" >> config.mk
echo "FCFLAGS_REPRO = -g -O2 -fbacktrace" >> config.mk
echo "FCFLAGS_INIT = -finit-real=snan -finit-integer=2147483647 -finit-derived" >> config.mk
echo "FCFLAGS_FMS = -g -fbacktrace -O0" >> config.mk
cat config.mk
echo "::endgroup::"
9 changes: 3 additions & 6 deletions .github/workflows/coupled-api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,15 @@ jobs:
working-directory: .testing

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
submodules: recursive

- uses: ./.github/actions/ubuntu-setup

- uses: ./.github/actions/testing-setup
with:
build_symmetric: 'false'
install_python: 'false'

- name: Compile MOM6 for the GFDL coupled driver
shell: bash
Expand All @@ -27,7 +28,3 @@ jobs:
- name: Compile MOM6 for the NUOPC driver
shell: bash
run: make check_mom6_api_nuopc -j

- name: Compile MOM6 for the MCT driver
shell: bash
run: make check_mom6_api_mct -j
32 changes: 25 additions & 7 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,40 @@ name: Code coverage
on: [push, pull_request]

jobs:
build-test-nans:
build-coverage:

runs-on: ubuntu-latest
defaults:
run:
working-directory: .testing

env:
REPORT_COVERAGE: true

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
submodules: recursive

- uses: ./.github/actions/ubuntu-setup

- uses: ./.github/actions/testing-setup

- name: Run and post coverage
run: make run.symmetric -k -s
- name: Compile unit tests
run: make -j build.unit

- name: Run unit tests
run: make run.cov.unit

- name: Report unit test coverage to CI
run: make report.cov.unit
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

- name: Compile ocean-only MOM6 with code coverage
run: make -j build/cov/MOM6

- name: Run coverage tests
run: make -k run.cov

- name: Report coverage to CI
run: make report.cov
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/documentation-and-style.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
submodules: recursive

Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/expression.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,12 @@ jobs:
working-directory: .testing

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
submodules: recursive

- uses: ./.github/actions/ubuntu-setup

- uses: ./.github/actions/testing-setup

- name: Compile MOM6 using repro optimization
Expand Down
35 changes: 35 additions & 0 deletions .github/workflows/macos-regression.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: MacOS regression

on: [pull_request]

jobs:
test-macos-regression:

runs-on: macOS-latest

env:
CC: gcc
FC: gfortran
FMS_COMMIT: 2019.01.03

defaults:
run:
working-directory: .testing

steps:
- uses: actions/checkout@v4
with:
submodules: recursive

- uses: ./.github/actions/macos-setup

- uses: ./.github/actions/testing-setup

- name: Compile reference model
run: make build.regressions MOM_TARGET_SLUG=$GITHUB_REPOSITORY MOM_TARGET_LOCAL_BRANCH=$GITHUB_BASE_REF DO_REGRESSION_TESTS=true -j

- name: Create validation data
run: make run.symmetric -k -s

- name: Regression test
run: make test.regression DO_REGRESSION_TESTS=true -k -s
35 changes: 35 additions & 0 deletions .github/workflows/macos-stencil.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: MacOS stencil tests

on: [push, pull_request]

jobs:
test-macos-stencil:

runs-on: macOS-latest

env:
CC: gcc
FC: gfortran
FMS_COMMIT: 2019.01.03

defaults:
run:
working-directory: .testing

steps:
- uses: actions/checkout@v4
with:
submodules: recursive

- uses: ./.github/actions/macos-setup

- uses: ./.github/actions/testing-setup

- name: Compile MOM6 in asymmetric memory mode
run: make build/asymmetric/MOM6 -j

- name: Create validation data
run: make run.symmetric -k -s

- name: Run tests
run: make test.grid test.layout test.rotate -k -s
4 changes: 3 additions & 1 deletion .github/workflows/other.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,12 @@ jobs:
working-directory: .testing

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
submodules: recursive

- uses: ./.github/actions/ubuntu-setup

- uses: ./.github/actions/testing-setup

- name: Compile with openMP
Expand Down
43 changes: 41 additions & 2 deletions .github/workflows/perfmon.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Performance Monitor

on: [pull_request]
on: [push, pull_request]

jobs:
build-test-perfmon:
Expand All @@ -11,26 +11,65 @@ jobs:
working-directory: .testing

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
submodules: recursive

- uses: ./.github/actions/ubuntu-setup

- uses: ./.github/actions/testing-setup

- name: Compile optimized models
if: ${{ github.event_name == 'pull_request' }}
run: >-
make -j build.prof
MOM_TARGET_SLUG=$GITHUB_REPOSITORY
MOM_TARGET_LOCAL_BRANCH=$GITHUB_BASE_REF
DO_REGRESSION_TESTS=true

- name: Generate profile data
if: ${{ github.event_name == 'pull_request' }}
run: >-
pip install f90nml &&
make profile
DO_REGRESSION_TESTS=true

- name: Generate perf data
if: ${{ github.event_name == 'pull_request' }}
run: |
sudo sysctl -w kernel.perf_event_paranoid=2
make perf DO_REGRESSION_TESTS=true

# This job assumes that build/target_codebase was cloned above
- name: Compile timing tests for reference code
if: ${{ github.event_name == 'pull_request' }}
run: >-
make -j build.timing_target
MOM_TARGET_SLUG=$GITHUB_REPOSITORY
MOM_TARGET_LOCAL_BRANCH=$GITHUB_BASE_REF
DO_REGRESSION_TESTS=true

- name: Compile timing tests
run: |
make -j build.timing

# DO_REGERESSION_TESTS=true is needed here to set the internal macro TARGET_CODEBASE
- name: Run timing tests for reference code
if: ${{ github.event_name == 'pull_request' }}
run: >-
make -j run.timing_target
DO_REGRESSION_TESTS=true

- name: Run timing tests
run: |
make -j run.timing

- name: Display timing results
run: |
make -j show.timing

- name: Display comparison of timing results
if: ${{ github.event_name == 'pull_request' }}
run: >-
make -j compare.timing
DO_REGRESSION_TESTS=true
Loading