@@ -4455,7 +4455,7 @@ subroutine barotropic_init(u, v, h, eta, Time, G, GV, US, param_file, diag, CS,
4455
4455
real :: wave_drag_scale ! A scaling factor for the barotropic linear wave drag
4456
4456
! piston velocities [nondim].
4457
4457
real :: am2, ak1 ! < Bandwidth parameters of the M2 and K1 streaming filters [nondim]
4458
- real :: om2, ok1 ! < Target frequencies of the M2 and K1 streaming filters [s-1]
4458
+ real :: om2, ok1 ! < Target frequencies of the M2 and K1 streaming filters [T-1 ~> s-1]
4459
4459
character (len= 200 ) :: inputdir ! The directory in which to find input files.
4460
4460
character (len= 200 ) :: wave_drag_file ! The file from which to read the wave
4461
4461
! drag piston velocity.
@@ -4717,8 +4717,18 @@ subroutine barotropic_init(u, v, h, eta, Time, G, GV, US, param_file, diag, CS,
4717
4717
" Bandwidth parameter of the streaming filter targeting the K1 frequency. " // &
4718
4718
" Must be positive. To turn off filtering, set FILTER_ALPHA_K1 <= 0.0." , &
4719
4719
default= 0.0 , units= " nondim" )
4720
- om2 = 1.4051890e-4
4721
- ok1 = 0.7292117e-4
4720
+ call get_param(param_file, mdl, " TIDE_M2_FREQ" , om2, &
4721
+ " Frequency of the M2 tidal constituent. " // &
4722
+ " This is only used if TIDES and TIDE_M2" // &
4723
+ " are true, or if OBC_TIDE_N_CONSTITUENTS > 0 and M2" // &
4724
+ " is in OBC_TIDE_CONSTITUENTS." , units= " s-1" , default= 1.4051890e-4 , &
4725
+ scale= US% T_to_s, do_not_log= .true. )
4726
+ call get_param(param_file, mdl, " TIDE_K1_FREQ" , ok1, &
4727
+ " Frequency of the K1 tidal constituent. " // &
4728
+ " This is only used if TIDES and TIDE_K1" // &
4729
+ " are true, or if OBC_TIDE_N_CONSTITUENTS > 0 and K1" // &
4730
+ " is in OBC_TIDE_CONSTITUENTS." , units= " s-1" , default= 0.7292117e-4 , &
4731
+ scale= US% T_to_s, do_not_log= .true. )
4722
4732
4723
4733
call get_param(param_file, mdl, " CLIP_BT_VELOCITY" , CS% clip_velocity, &
4724
4734
" If true, limit any velocity components that exceed " // &
0 commit comments