Skip to content

Commit

Permalink
fix ccpp_control crashed problem
Browse files Browse the repository at this point in the history
  • Loading branch information
mzhangw committed Sep 21, 2019
1 parent 957ff82 commit 1a024b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion physics/GFS_MP_generic.F90
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ subroutine GFS_MP_generic_post_run(im, ix, levs, kdt, nrcm, ncld, nncl, ntcw, nt
if (total_precip > rainmin) then
srflag(i) = (ice(i)+csnow)/total_precip
endif
else
else if (imp_physics == imp_physics_gfdl .or. imp_physics == imp_physics_thompson ) then
total_precip = snow0(i)+ice0(i)+graupel0(i)+rain0(i)+rainc(i)
if (total_precip > rainmin) then
srflag(i) = (snow0(i)+ice0(i)+graupel0(i)+csnow)/total_precip
Expand Down

0 comments on commit 1a024b7

Please sign in to comment.