Skip to content

Commit cfb53f1

Browse files
committed
Removed default for mandatory time scale in OBCs
Removed two instances of `fail_if_missing=.true., default=0.` which are contradictory: a default value is meaningless if the parameter must be specified. I encountered this when adding the `defaults=` option to `get_param_real_array()`.
1 parent ac6e43d commit cfb53f1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/core/MOM_open_boundary.F90

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1479,7 +1479,7 @@ subroutine setup_u_point_obc(OBC, G, US, segment_str, l_seg, PF, reentrant_y)
14791479
"Timescales in days for nudging along a segment, "//&
14801480
"for inflow, then outflow. Setting both to zero should "//&
14811481
"behave like SIMPLE obcs for the baroclinic velocities.", &
1482-
fail_if_missing=.true., default=0., units="days", scale=86400.0*US%s_to_T)
1482+
fail_if_missing=.true., units="days", scale=86400.0*US%s_to_T)
14831483
OBC%segment(l_seg)%Velocity_nudging_timescale_in = tnudge(1)
14841484
OBC%segment(l_seg)%Velocity_nudging_timescale_out = tnudge(2)
14851485
deallocate(tnudge)
@@ -1620,7 +1620,7 @@ subroutine setup_v_point_obc(OBC, G, US, segment_str, l_seg, PF, reentrant_x)
16201620
"Timescales in days for nudging along a segment, "//&
16211621
"for inflow, then outflow. Setting both to zero should "//&
16221622
"behave like SIMPLE obcs for the baroclinic velocities.", &
1623-
fail_if_missing=.true., default=0., units="days", scale=86400.0*US%s_to_T)
1623+
fail_if_missing=.true., units="days", scale=86400.0*US%s_to_T)
16241624
OBC%segment(l_seg)%Velocity_nudging_timescale_in = tnudge(1)
16251625
OBC%segment(l_seg)%Velocity_nudging_timescale_out = tnudge(2)
16261626
deallocate(tnudge)

0 commit comments

Comments
 (0)