Skip to content

Commit

Permalink
Only print repeat ridging when niter > 1 (CICE-Consortium#445)
Browse files Browse the repository at this point in the history
  • Loading branch information
dabail10 authored Jul 21, 2023
1 parent 4728746 commit 31877fb
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions columnphysics/icepack_mechred.F90
Original file line number Diff line number Diff line change
Expand Up @@ -426,8 +426,10 @@ subroutine ridge_ice (dt, ndtd, &
!-----------------------------------------------------------------

if (iterate_ridging) then
write(warnstr,*) subname, 'Repeat ridging, niter =', niter
call icepack_warnings_add(warnstr)
if (niter > 1) then
write(warnstr,*) subname, 'Repeat ridging, niter =', niter+1
call icepack_warnings_add(warnstr)
endif
else
exit rdg_iteration
endif
Expand Down

0 comments on commit 31877fb

Please sign in to comment.