Skip to content

Commit

Permalink
Make warning for non-equilibrium.
Browse files Browse the repository at this point in the history
  • Loading branch information
mvdebolskiy committed Jul 23, 2024
1 parent 811659f commit 88adda4
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/biogeophys/WaterStateType.F90
Original file line number Diff line number Diff line change
Expand Up @@ -724,6 +724,17 @@ subroutine Restart(this, bounds, ncid, flag, &
! Restart excess ice vars
if (.not. use_excess_ice) then
! no need to even define the restart vars
call RestartExcessIceIssue( &
ncid = ncid, &
flag = flag, &
excess_ice_on_restart = excess_ice_on_restart)
if( excess_ice_on_restart ) then
if (masterproc) then
write(iulog,*) '--WARNING-- Starting from initial conditions with excess ice present.'
write(iulog,*) 'But use_excess_ice=.false.'
write(iulog,*) 'This will cause soil moisture and temperature not being in equilibrium'
endif
endif
this%excess_ice_col(bounds%begc:bounds%endc,-nlevsno+1:nlevmaxurbgrnd)=0.0_r8
else
call RestartExcessIceIssue( &
Expand Down

0 comments on commit 88adda4

Please sign in to comment.