File tree Expand file tree Collapse file tree 4 files changed +25
-8
lines changed Expand file tree Collapse file tree 4 files changed +25
-8
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ ClimaDiagnostics = "0.2.12"
48
48
ClimaParams = " 0.10.19"
49
49
ClimaTimeSteppers = " 0.8.2"
50
50
ClimaUtilities = " 0.1.22"
51
- CloudMicrophysics = " 0.22.8 "
51
+ CloudMicrophysics = " 0.22.9 "
52
52
Dates = " 1"
53
53
DiffEqBase = " 6.145"
54
54
FastGaussQuadrature = " 0.5, 1"
Original file line number Diff line number Diff line change 1
- 220
1
+ 221
2
2
3
3
# **README**
4
4
#
20
20
21
21
22
22
#=
23
+ 221
24
+ - Change the way cloud liquid effective radius is computed for radiation
25
+
23
26
220
24
27
- Split out cached variables that should be treated implicitly, so that all
25
28
other cached variables are no longer updated by the implicit solver
Original file line number Diff line number Diff line change @@ -208,8 +208,14 @@ NVTX.@annotate function rrtmgp_model_callback!(integrator)
208
208
# RRTMGP needs effective radius in microns
209
209
@. ᶜreliq = ifelse (
210
210
cloud_liquid_water_content > FT (0 ),
211
- CM. CloudDiagnostics. effective_radius_const (cmc. liquid) *
212
- m_to_um_factor,
211
+ CM. CloudDiagnostics. effective_radius_Liu_Hallet_97 (
212
+ cmc. liquid,
213
+ Y. c. ρ,
214
+ cloud_liquid_water_content / max (eps (FT), cloud_fraction),
215
+ cmc. N_cloud_liquid_droplets,
216
+ FT (0 ),
217
+ FT (0 ),
218
+ ) * m_to_um_factor,
213
219
FT (0 ),
214
220
)
215
221
@. ᶜreice = ifelse (
Original file line number Diff line number Diff line change @@ -107,10 +107,18 @@ atmos_name_map = (;
107
107
:optics_lookup_temperature_max => :optics_lookup_temperature_max ,
108
108
)
109
109
110
- cloud_parameters (FT_or_toml) = (;
111
- liquid = CM. Parameters. CloudLiquid (FT_or_toml),
112
- ice = CM. Parameters. CloudIce (FT_or_toml),
113
- Ch2022 = CM. Parameters. Chen2022VelType (FT_or_toml),
110
+ cloud_parameters (:: Type{FT} ) where {FT <: AbstractFloat } =
111
+ cloud_parameters (CP. create_toml_dict (FT))
112
+
113
+ cloud_parameters (toml_dict:: CP.AbstractTOMLDict ) = (;
114
+ liquid = CM. Parameters. CloudLiquid (toml_dict),
115
+ ice = CM. Parameters. CloudIce (toml_dict),
116
+ Ch2022 = CM. Parameters. Chen2022VelType (toml_dict),
117
+ N_cloud_liquid_droplets = CP. get_parameter_values (
118
+ toml_dict,
119
+ " prescribed_cloud_droplet_number_concentration" ,
120
+ " ClimaAtmos" ,
121
+ ). prescribed_cloud_droplet_number_concentration,
114
122
)
115
123
116
124
microphys_1m_parameters (:: Type{FT} ) where {FT <: AbstractFloat } =
You can’t perform that action at this time.
0 commit comments