Skip to content

Commit 2406419

Browse files
authored
Merge pull request #3926 from CliMA/oa/noneq_rad_fix
Fix NonEq effective radius bug
2 parents 1164ae5 + a55d831 commit 2406419

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/parameterized_tendencies/radiation/update_inputs.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,8 @@ function update_cloud_properties!((; u, p, t)::I) where {I}
335335
CM.CloudDiagnostics.effective_radius_Liu_Hallet_97(
336336
cmc.liquid,
337337
u.c.ρ,
338-
cloud_liquid_water_content / max(eps(FT), cloud_fraction),
338+
max(FT(0), cloud_liquid_water_content) /
339+
max(eps(FT), cloud_fraction),
339340
ml_N_cloud_liquid_droplets(
340341
(cmc,),
341342
dust_aero_conc,

0 commit comments

Comments
 (0)