Skip to content

Commit

Permalink
Remove instances of !KO
Browse files Browse the repository at this point in the history
  • Loading branch information
olyson committed Dec 14, 2023
1 parent 5d0a183 commit 9d24b69
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
4 changes: 0 additions & 4 deletions src/riverroute/RtmHistFile.F90
Original file line number Diff line number Diff line change
Expand Up @@ -983,10 +983,6 @@ subroutine RtmHistHtapesWrapup( rstwr, nlend )
! and write data to history files if end of history interval.
do t = 1, ntapes

!KO ! Should no longer be needed
!KO ! Skip nstep=0 if monthly average
!KO if (nstep==0 .and. tape(t)%nhtfrq==0) cycle

! Determine if end of history interval
tape(t)%is_endhist = .false.
if (tape(t)%nhtfrq==0) then !monthly average
Expand Down
3 changes: 0 additions & 3 deletions src/riverroute/RtmTimeManager.F90
Original file line number Diff line number Diff line change
Expand Up @@ -1000,10 +1000,7 @@ logical function is_first_step()
call ESMF_ClockGet( tm_clock, advanceCount=step_no, rc=rc )
call chkrc(rc, sub//': error return from ESMF_ClockGet')
nstep = step_no
!KO is_first_step = (nstep == 0)
!KO
is_first_step = (nstep == 1)
!KO

end function is_first_step

Expand Down

0 comments on commit 9d24b69

Please sign in to comment.