Skip to content

Commit

Permalink
Merge pull request NOAA-EMC#146 from climbfuji/bugfix_fv_regional_bc_…
Browse files Browse the repository at this point in the history
…init_cloud_amount

Bug fix fv_regional_bc.F90: initialize cloud amount boundary conditions only if cloud amount is a valid tracer
  • Loading branch information
laurenchilutti committed Oct 6, 2021
1 parent 326e996 commit f3197e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion model/fv_regional_bc.F90
Original file line number Diff line number Diff line change
Expand Up @@ -3782,7 +3782,7 @@ subroutine remap_scalar_nggps_regional_bc(Atm &
BC_side%q_BC(i,j,k,rainwat) = 0.
BC_side%q_BC(i,j,k,snowwat) = 0.
BC_side%q_BC(i,j,k,graupel) = 0.
BC_side%q_BC(i,j,k,cld_amt) = 0.
if (cld_amt > 0) BC_side%q_BC(i,j,k,cld_amt) = 0.
if ( BC_side%pt_BC(i,j,k) > 273.16 ) then ! > 0C all liq_wat
BC_side%q_BC(i,j,k,liq_wat) = qn1(i,k)
BC_side%q_BC(i,j,k,ice_wat) = 0.
Expand Down

0 comments on commit f3197e7

Please sign in to comment.