Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions src/riverroute/RtmHistFile.F90
Original file line number Diff line number Diff line change
Expand Up @@ -983,8 +983,9 @@ subroutine RtmHistHtapesWrapup( rstwr, nlend )
! and write data to history files if end of history interval.
do t = 1, ntapes

! Skip nstep=0 if monthly average
if (nstep==0 .and. tape(t)%nhtfrq==0) cycle
!KO ! Should no longer be needed
Comment thread
slevis-lmwg marked this conversation as resolved.
Outdated
!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.
Expand Down
5 changes: 4 additions & 1 deletion src/riverroute/RtmTimeManager.F90
Original file line number Diff line number Diff line change
Expand Up @@ -1000,7 +1000,10 @@ 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
is_first_step = (nstep == 0)
!KO is_first_step = (nstep == 0)
Comment thread
slevis-lmwg marked this conversation as resolved.
Outdated
!KO
is_first_step = (nstep == 1)
!KO

end function is_first_step

Expand Down