Skip to content

Commit

Permalink
MOM6: Inline harmonic analysis
Browse files Browse the repository at this point in the history
- NOAA-GFDL/MOM6@caae65386 Inline harmonic analysis
- NOAA-GFDL/MOM6@85c72b8c0 Inline harmonic analysis
- NOAA-GFDL/MOM6@2c1a9d32f +Add and use query_debugging_checks
- NOAA-GFDL/MOM6@12af9002e Use unscale arguments in 384 checksum calls
- NOAA-GFDL/MOM6@b4c91e306 Correct 10 do-loop index cases
- NOAA-GFDL/MOM6@c5e5e3057 Better error messages in interp_for_nondim_pos
- NOAA-GFDL/MOM6@2f2b7905c +Add optional unscale arguments to MOM_write_field
- NOAA-GFDL/MOM6@e9f59c22a +Add optional unscale arguments to checksums
  • Loading branch information
mom6bot authored and adcroft committed Jul 26, 2024
1 parent 4e9bf1c commit 97f475e
Show file tree
Hide file tree
Showing 6 changed files with 86 additions and 1 deletion.
17 changes: 17 additions & 0 deletions ice_ocean_SIS2/Baltic_ALE_z_offline_tracers/MOM_parameter_doc.all
Original file line number Diff line number Diff line change
Expand Up @@ -1272,6 +1272,23 @@ TIDE_M2_AMP = 0.242334 ! [m] default = 0.242334
TIDE_M2_PHASE_T0 = 0.0 ! [radians] default = 0.0
! Phase of the M2 tidal constituent at time 0. This is only used if TIDES and
! TIDE_M2 are true.
HA_START_TIME = 0.0 ! [days] default = 0.0
! Start time of harmonic analysis, in units of days after the start of the
! current run segment. Must be smaller than HA_END_TIME, otherwise harmonic
! analysis will not be performed. If negative, |HA_START_TIME| determines the
! length of harmonic analysis, and harmonic analysis will start |HA_START_TIME|
! days before HA_END_TIME, or at the beginning of the run segment, whichever
! occurs later.
HA_END_TIME = 0.0 ! [days] default = 0.0
! End time of harmonic analysis, in units of days after the start of the current
! run segment. Must be positive and smaller than the length of the currnet run
! segment, otherwise harmonic analysis will not be performed.
HA_SSH = False ! [Boolean] default = False
! If true, perform harmonic analysis of sea serface height.
HA_UBT = False ! [Boolean] default = False
! If true, perform harmonic analysis of zonal barotropic velocity.
HA_VBT = False ! [Boolean] default = False
! If true, perform harmonic analysis of meridional barotropic velocity.

! === module MOM_PressureForce ===
ANALYTIC_FV_PGF = True ! [Boolean] default = True
Expand Down
17 changes: 17 additions & 0 deletions ocean_only/global_ALE/hycom/MOM_parameter_doc.all
Original file line number Diff line number Diff line change
Expand Up @@ -1322,6 +1322,23 @@ TIDE_M2_AMP = 0.242334 ! [m] default = 0.242334
TIDE_M2_PHASE_T0 = 0.0 ! [radians] default = 0.0
! Phase of the M2 tidal constituent at time 0. This is only used if TIDES and
! TIDE_M2 are true.
HA_START_TIME = 0.0 ! [days] default = 0.0
! Start time of harmonic analysis, in units of days after the start of the
! current run segment. Must be smaller than HA_END_TIME, otherwise harmonic
! analysis will not be performed. If negative, |HA_START_TIME| determines the
! length of harmonic analysis, and harmonic analysis will start |HA_START_TIME|
! days before HA_END_TIME, or at the beginning of the run segment, whichever
! occurs later.
HA_END_TIME = 0.0 ! [days] default = 0.0
! End time of harmonic analysis, in units of days after the start of the current
! run segment. Must be positive and smaller than the length of the currnet run
! segment, otherwise harmonic analysis will not be performed.
HA_SSH = False ! [Boolean] default = False
! If true, perform harmonic analysis of sea serface height.
HA_UBT = False ! [Boolean] default = False
! If true, perform harmonic analysis of zonal barotropic velocity.
HA_VBT = False ! [Boolean] default = False
! If true, perform harmonic analysis of meridional barotropic velocity.

! === module MOM_PressureForce ===
ANALYTIC_FV_PGF = True ! [Boolean] default = True
Expand Down
17 changes: 17 additions & 0 deletions ocean_only/global_ALE/layer/MOM_parameter_doc.all
Original file line number Diff line number Diff line change
Expand Up @@ -1208,6 +1208,23 @@ TIDE_M2_AMP = 0.242334 ! [m] default = 0.242334
TIDE_M2_PHASE_T0 = 0.0 ! [radians] default = 0.0
! Phase of the M2 tidal constituent at time 0. This is only used if TIDES and
! TIDE_M2 are true.
HA_START_TIME = 0.0 ! [days] default = 0.0
! Start time of harmonic analysis, in units of days after the start of the
! current run segment. Must be smaller than HA_END_TIME, otherwise harmonic
! analysis will not be performed. If negative, |HA_START_TIME| determines the
! length of harmonic analysis, and harmonic analysis will start |HA_START_TIME|
! days before HA_END_TIME, or at the beginning of the run segment, whichever
! occurs later.
HA_END_TIME = 0.0 ! [days] default = 0.0
! End time of harmonic analysis, in units of days after the start of the current
! run segment. Must be positive and smaller than the length of the currnet run
! segment, otherwise harmonic analysis will not be performed.
HA_SSH = False ! [Boolean] default = False
! If true, perform harmonic analysis of sea serface height.
HA_UBT = False ! [Boolean] default = False
! If true, perform harmonic analysis of zonal barotropic velocity.
HA_VBT = False ! [Boolean] default = False
! If true, perform harmonic analysis of meridional barotropic velocity.

! === module MOM_PressureForce ===
ANALYTIC_FV_PGF = True ! [Boolean] default = True
Expand Down
17 changes: 17 additions & 0 deletions ocean_only/global_ALE/z/MOM_parameter_doc.all
Original file line number Diff line number Diff line change
Expand Up @@ -1269,6 +1269,23 @@ TIDE_M2_AMP = 0.242334 ! [m] default = 0.242334
TIDE_M2_PHASE_T0 = 0.0 ! [radians] default = 0.0
! Phase of the M2 tidal constituent at time 0. This is only used if TIDES and
! TIDE_M2 are true.
HA_START_TIME = 0.0 ! [days] default = 0.0
! Start time of harmonic analysis, in units of days after the start of the
! current run segment. Must be smaller than HA_END_TIME, otherwise harmonic
! analysis will not be performed. If negative, |HA_START_TIME| determines the
! length of harmonic analysis, and harmonic analysis will start |HA_START_TIME|
! days before HA_END_TIME, or at the beginning of the run segment, whichever
! occurs later.
HA_END_TIME = 0.0 ! [days] default = 0.0
! End time of harmonic analysis, in units of days after the start of the current
! run segment. Must be positive and smaller than the length of the currnet run
! segment, otherwise harmonic analysis will not be performed.
HA_SSH = False ! [Boolean] default = False
! If true, perform harmonic analysis of sea serface height.
HA_UBT = False ! [Boolean] default = False
! If true, perform harmonic analysis of zonal barotropic velocity.
HA_VBT = False ! [Boolean] default = False
! If true, perform harmonic analysis of meridional barotropic velocity.

! === module MOM_PressureForce ===
ANALYTIC_FV_PGF = True ! [Boolean] default = True
Expand Down
17 changes: 17 additions & 0 deletions ocean_only/nonBous_global/MOM_parameter_doc.all
Original file line number Diff line number Diff line change
Expand Up @@ -1039,6 +1039,23 @@ TIDE_M2_AMP = 0.242334 ! [m] default = 0.242334
TIDE_M2_PHASE_T0 = 0.0 ! [radians] default = 0.0
! Phase of the M2 tidal constituent at time 0. This is only used if TIDES and
! TIDE_M2 are true.
HA_START_TIME = 0.0 ! [days] default = 0.0
! Start time of harmonic analysis, in units of days after the start of the
! current run segment. Must be smaller than HA_END_TIME, otherwise harmonic
! analysis will not be performed. If negative, |HA_START_TIME| determines the
! length of harmonic analysis, and harmonic analysis will start |HA_START_TIME|
! days before HA_END_TIME, or at the beginning of the run segment, whichever
! occurs later.
HA_END_TIME = 0.0 ! [days] default = 0.0
! End time of harmonic analysis, in units of days after the start of the current
! run segment. Must be positive and smaller than the length of the currnet run
! segment, otherwise harmonic analysis will not be performed.
HA_SSH = False ! [Boolean] default = False
! If true, perform harmonic analysis of sea serface height.
HA_UBT = False ! [Boolean] default = False
! If true, perform harmonic analysis of zonal barotropic velocity.
HA_VBT = False ! [Boolean] default = False
! If true, perform harmonic analysis of meridional barotropic velocity.

! === module MOM_PressureForce ===
ANALYTIC_FV_PGF = True ! [Boolean] default = True
Expand Down
2 changes: 1 addition & 1 deletion src/MOM6
Submodule MOM6 updated 52 files
+3 −3 src/ALE/MOM_hybgen_regrid.F90
+60 −45 src/core/MOM.F90
+44 −30 src/core/MOM_barotropic.F90
+23 −23 src/core/MOM_checksum_packages.F90
+55 −34 src/core/MOM_dynamics_split_RK2.F90
+54 −32 src/core/MOM_dynamics_split_RK2b.F90
+76 −76 src/core/MOM_forcing_type.F90
+4 −4 src/core/MOM_interface_heights.F90
+1 −1 src/core/MOM_isopycnal_slopes.F90
+5 −5 src/core/MOM_open_boundary.F90
+5 −5 src/core/MOM_variables.F90
+13 −0 src/diagnostics/MOM_debugging.F90
+2 −4 src/diagnostics/MOM_diagnostics.F90
+452 −0 src/diagnostics/MOM_harmonic_analysis.F90
+94 −29 src/diagnostics/MOM_spatial_means.F90
+3 −3 src/diagnostics/MOM_sum_output.F90
+206 −105 src/framework/MOM_checksums.F90
+3 −3 src/framework/MOM_horizontal_regridding.F90
+130 −51 src/framework/MOM_io.F90
+5 −5 src/framework/MOM_restart.F90
+17 −17 src/ice_shelf/MOM_ice_shelf.F90
+3 −3 src/ice_shelf/MOM_ice_shelf_dynamics.F90
+2 −2 src/initialization/MOM_coord_initialization.F90
+4 −4 src/initialization/MOM_fixed_initialization.F90
+12 −12 src/initialization/MOM_grid_initialize.F90
+21 −21 src/initialization/MOM_shared_initialization.F90
+10 −10 src/initialization/MOM_state_initialization.F90
+12 −12 src/parameterizations/lateral/MOM_MEKE.F90
+9 −9 src/parameterizations/lateral/MOM_hor_visc.F90
+6 −6 src/parameterizations/lateral/MOM_interface_filter.F90
+3 −3 src/parameterizations/lateral/MOM_internal_tides.F90
+8 −8 src/parameterizations/lateral/MOM_lateral_mixing_coeffs.F90
+26 −25 src/parameterizations/lateral/MOM_mixed_layer_restrat.F90
+18 −18 src/parameterizations/lateral/MOM_thickness_diffuse.F90
+18 −1 src/parameterizations/lateral/MOM_tidal_forcing.F90
+11 −11 src/parameterizations/vertical/MOM_CVMix_KPP.F90
+5 −5 src/parameterizations/vertical/MOM_CVMix_conv.F90
+4 −4 src/parameterizations/vertical/MOM_bkgnd_mixing.F90
+62 −62 src/parameterizations/vertical/MOM_diabatic_driver.F90
+3 −3 src/parameterizations/vertical/MOM_internal_tide_input.F90
+4 −4 src/parameterizations/vertical/MOM_kappa_shear.F90
+22 −22 src/parameterizations/vertical/MOM_set_diffusivity.F90
+13 −11 src/parameterizations/vertical/MOM_set_viscosity.F90
+3 −3 src/parameterizations/vertical/MOM_vert_friction.F90
+1 −1 src/tracer/MOM_CFC_cap.F90
+2 −2 src/tracer/MOM_generic_tracer.F90
+29 −24 src/tracer/MOM_neutral_diffusion.F90
+35 −35 src/tracer/MOM_offline_main.F90
+1 −1 src/tracer/MOM_tracer_hor_diff.F90
+2 −2 src/tracer/MOM_tracer_registry.F90
+2 −2 src/tracer/pseudo_salt_tracer.F90
+1 −1 src/user/RGC_initialization.F90

0 comments on commit 97f475e

Please sign in to comment.