1 subroutine da_get_bdyfrq(this_datestr, next_datestr, bdyfrq, debug)
3 !-----------------------------------------------------------------------
5 !-----------------------------------------------------------------------
11 character(len=*), intent(in) :: this_datestr, next_datestr
12 real, intent(out) :: bdyfrq
13 logical, intent(in) :: debug
15 real :: this_bdy_time, next_bdy_time
17 ! if (trace_use) call da_trace_entry("da_get_bdyfrq")
19 call da_atotime(this_datestr, this_bdy_time)
20 call da_atotime(next_datestr, next_bdy_time)
22 bdyfrq = next_bdy_time - this_bdy_time
25 write(unit=stdout, fmt='(a, f20.1)') &
26 'next_bdy_time=', next_bdy_time, &
27 'this_bdy_time=', this_bdy_time, &
31 ! if (trace_use) call da_trace_exit("da_get_bdyfrq")
33 end subroutine da_get_bdyfrq