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 5bdfd94
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.rh_lay[end - 1, :]
@views as.rh_lay[end, :] .= as.rh_lay[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 5bdfd94

Please sign in to comment.