Skip to content

Commit

Permalink
update boundary layer rh for radiation
Browse files Browse the repository at this point in the history
  • Loading branch information
szy21 committed Jul 5, 2024
1 parent fd2fcf2 commit 9e8c19b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/parameterized_tendencies/radiation/RRTMGPInterface.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1086,6 +1086,10 @@ function update_boundary_layer!(model)
@views as.p_lev[end, :] .= p_min
@views AS.getview_t_lay(model.as)[end, :] .= as.t_lev[end - 1, :]
@views as.t_lev[end, :] .= as.t_lev[end - 1, :]
if !(model.radiation_mode isa GrayRadiation)
@views AS.getview_rel_hum(model.as)[end, :] .=
AS.getview_rel_hum(model.as)[end - 1, :]
end
update_boundary_layer_vmr!(model.radiation_mode, as)
update_boundary_layer_cloud!(model.radiation_mode, as)
update_boundary_layer_aerosol!(model.radiation_mode, as)
Expand Down

0 comments on commit 9e8c19b

Please sign in to comment.