Skip to content

Commit 37d03f8

Browse files
authored
Merge pull request #559 from CliMA/al/push_start
push start time for IN05_17
2 parents 4371cbc + 0af692b commit 37d03f8

File tree

4 files changed

+14
-11
lines changed

4 files changed

+14
-11
lines changed

papers/ice_nucleation_2024/AIDA_calibrations.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ data_file_names = [
3333
]
3434
batch_names = ["HOM", "IN0701", "IN0719", "ACI04_22", "EXP19", "EXP45", "DEP", "IMM"]
3535
start_time_list = [ # freezing onset
36-
[Int32(150), Int32(180)],
36+
[Int32(169), Int32(180)],
3737
[Int32(50)],
3838
[Int32(35)],
3939
[Int32(0)],
@@ -190,6 +190,7 @@ for (batch_index, batch_name) in enumerate(batch_names)
190190
exp_names[exp_index], Nₜ[exp_index],
191191
UKI_parcel,
192192
t_profile[exp_index], T_profile[exp_index], P_profile[exp_index], ICNC_profile[exp_index],
193+
S_l_profile[exp_index],
193194
)
194195

195196
## Comparing AIDA data and calibrated parcel.

papers/ice_nucleation_2024/calibration.jl

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ function run_model(p_list, IN_mode, coefficients, FT, IC_list; calibration = fal
2525
for (exp_index, p) in enumerate(p_list)
2626
(; prescribed_thermodynamics, t_profile, T_profile, P_profile) = p
2727
(; const_dt, w, t_max, ips) = p
28-
(; aerosol_act, aerosol, r_nuc) = p
28+
(; aerosol_act, aerosol, r_nuc, A_aer) = p
2929
(; deposition_growth, condensation_growth) = p
3030
(; dep_nucleation, heterogeneous, homogeneous) = p
3131
(; liq_size_distribution, ice_size_distribution, aero_σ_g) = p
@@ -190,6 +190,7 @@ function run_model(p_list, IN_mode, coefficients, FT, IC_list; calibration = fal
190190
ice_size_distribution = ice_size_distribution,
191191
ips = ips,
192192
r_nuc = r_nuc,
193+
A_aer = A_aer,
193194
)
194195

195196
# solve ODE
@@ -270,8 +271,8 @@ function create_prior(FT, IN_mode, ; perfect_model = false, aerosol_type = nothi
270271
error("Aerosol type not supported for ABIFM. Check create_prior function.")
271272
end
272273
elseif IN_mode == "ABHOM"
273-
m_stats = [FT(260.927125), FT(70), FT(0), Inf]
274-
c_stats = [FT(-68.553283), FT(20), -Inf, Inf]
274+
m_stats = [FT(255.927125), FT(100), FT(0), Inf]
275+
c_stats = [FT(-68.553283), FT(40 ), -Inf, Inf]
275276
end
276277
end
277278

papers/ice_nucleation_2024/calibration_setup.jl

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -200,17 +200,17 @@ function AIDA_IN05_IC(FT, data_file)
200200
ϵₘ = R_d / R_v
201201

202202
if data_file == "in05_17_aida.edf"
203-
Nᵢ = FT(0.05 * 1e6)
204-
Nₗ = FT(360 * 1e6) - Nᵢ
203+
Nᵢ = FT(0.647 * 1e6)
204+
Nₗ = FT(360 * 1e6) - Nᵢ
205205
Nₐ = FT(0)
206-
r₀ = FT(5.18056 / 2 * 1e-6)
207-
p₀ = FT(894.409 * 1e2)
208-
T₀ = FT(237.871)
206+
r₀ = FT(5.68782 / 2 * 1e-6)
207+
p₀ = FT(883.539 * 1e2)
208+
T₀ = FT(237.502)
209209
qₗ = FT(Nₗ * 4 / 3 * FT(π) * r₀^3 * ρₗ / FT(1.2)) # 1.2 should be ρₐ
210210
qᵢ = FT(Nᵢ * 4 / 3 * FT(π) * r₀^3 * ρₗ / FT(1.2))
211211
m_l = Nₗ * ρₗ * 4 * π / 3 * r₀^3
212212
m_i = Nᵢ * ρᵢ * 4 * π / 3 * r₀^3
213-
e = FT(30.2314)
213+
e = FT(29.811)
214214
qᵥ = (e / R_v / T₀) / ((p₀ - e) / (R_d * T₀) + e / R_v / T₀ + m_l + m_i)
215215
q = TD.PhasePartition.(qᵥ + qₗ + qᵢ, qₗ, qᵢ)
216216
Rₐ = TD.gas_constant_air(tps, q)

papers/ice_nucleation_2024/plots.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ function plot_calibrated_parcels(
109109
exp_name, Nₜ,
110110
UKI_parcel,
111111
t_profile, T_profile, P_profile, ICNC_profile,
112+
Sₗ_profile,
112113
)
113114

114115
calibrated_parcel_fig = MK.Figure(size = (1500, 800), fontsize = 20)
@@ -131,7 +132,7 @@ function plot_calibrated_parcels(
131132
color = :fuchsia,
132133
linestyle = :dash,
133134
)
134-
# MK.lines!(ax_parcel_1, t_profile, S_l_profile, label = "chamber", color = :blue)
135+
MK.lines!(ax_parcel_1, t_profile, Sₗ_profile, label = "chamber", color = :blue)
135136

136137
MK.lines!(ax_parcel_2, UKI_parcel.t, UKI_parcel[5, :], color = :fuchsia)
137138

0 commit comments

Comments
 (0)