Skip to content

Commit 1e805ce

Browse files
committed
Add 1M and non-equil moisture to diagnotic EDMF
1 parent e7c6038 commit 1e805ce

File tree

11 files changed

+679
-141
lines changed

11 files changed

+679
-141
lines changed

config/model_configs/diagnostic_edmfx_dycoms_rf02_box.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ edmfx_detr_model: "Generalized"
1313
edmfx_nh_pressure: true
1414
edmfx_sgs_mass_flux: true
1515
edmfx_sgs_diffusive_flux: true
16-
moist: equil
16+
moist: nonequil
1717
cloud_model: "quadrature_sgs"
18-
precip_model: "0M"
18+
precip_model: "1M"
1919
call_cloud_diagnostics_per_stage: true
2020
config: box
2121
x_max: 1e8
@@ -28,10 +28,14 @@ z_stretch: false
2828
dt: 100secs
2929
t_end: 6hours
3030
dt_save_state_to_disk: 10mins
31-
toml: [toml/diagnostic_edmfx_0M.toml]
31+
toml: [toml/diagnostic_edmfx_1M.toml]
3232
netcdf_interpolation_num_points: [8, 8, 30]
3333
diagnostics:
3434
- short_name: [ts, ta, thetaa, ha, pfull, rhoa, ua, va, wa, hur, hus, cl, clw, cli, hussfc, evspsbl, pr]
3535
period: 10mins
36-
- short_name: [arup, waup, taup, thetaaup, haup, husup, hurup, clwup, cliup, waen, tke, lmix]
36+
- short_name: [arup, waup, taup, thetaaup, haup, husup, hurup, clwup, cliup, husraup, hussnup, tke]
37+
period: 10mins
38+
- short_name: [entr, detr, lmix, bgrad, strain, edt, evu]
39+
period: 10mins
40+
- short_name: [husra, hussn]
3741
period: 10mins

config/model_configs/diagnostic_edmfx_rico_box.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ edmfx_detr_model: "Generalized"
1212
edmfx_nh_pressure: true
1313
edmfx_sgs_mass_flux: true
1414
edmfx_sgs_diffusive_flux: true
15-
moist: equil
15+
moist: nonequil
1616
cloud_model: "quadrature_sgs"
17-
precip_model: "0M"
17+
precip_model: "1M"
1818
call_cloud_diagnostics_per_stage: true
1919
config: box
2020
x_max: 1e8
@@ -27,10 +27,14 @@ z_stretch: false
2727
dt: 100secs
2828
t_end: 8hours
2929
dt_save_state_to_disk: 10mins
30-
toml: [toml/diagnostic_edmfx_0M.toml]
30+
toml: [toml/diagnostic_edmfx_1M.toml]
3131
netcdf_interpolation_num_points: [8, 8, 100]
3232
diagnostics:
3333
- short_name: [ts, ta, thetaa, ha, pfull, rhoa, ua, va, wa, hur, hus, cl, clw, cli, hussfc, evspsbl, pr]
3434
period: 10mins
35-
- short_name: [arup, waup, taup, thetaaup, haup, husup, hurup, clwup, cliup, waen, tke, lmix]
35+
- short_name: [arup, waup, taup, thetaaup, haup, husup, hurup, clwup, cliup, husraup, hussnup, tke]
36+
period: 10mins
37+
- short_name: [entr, detr, lmix, bgrad, strain, edt, evu]
38+
period: 10mins
39+
- short_name: [husra, hussn]
3640
period: 10mins

config/model_configs/diagnostic_edmfx_trmm_box.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ edmfx_detr_model: "Generalized"
1111
edmfx_nh_pressure: true
1212
edmfx_sgs_mass_flux: true
1313
edmfx_sgs_diffusive_flux: true
14-
moist: equil
14+
moist: nonequil
1515
cloud_model: "quadrature_sgs"
1616
call_cloud_diagnostics_per_stage: true
1717
apply_limiter: false
18-
precip_model: "0M"
18+
precip_model: "1M"
1919
config: box
2020
x_max: 1e8
2121
y_max: 1e8
@@ -24,14 +24,18 @@ y_elem: 2
2424
z_elem: 82
2525
z_max: 16400
2626
z_stretch: false
27-
dt: 200secs
27+
dt: 100secs
2828
t_end: 6hours
2929
dt_save_state_to_disk: 10mins
3030
FLOAT_TYPE: "Float64"
31-
toml: [toml/diagnostic_edmfx_0M.toml]
31+
toml: [toml/diagnostic_edmfx_1M.toml]
3232
netcdf_interpolation_num_points: [8, 8, 82]
3333
diagnostics:
3434
- short_name: [ts, ta, thetaa, ha, pfull, rhoa, ua, va, wa, hur, hus, cl, clw, cli, hussfc, evspsbl, pr]
3535
period: 10mins
36-
- short_name: [arup, waup, taup, thetaaup, haup, husup, hurup, clwup, cliup, waen, tke, lmix]
36+
- short_name: [arup, waup, taup, thetaaup, haup, husup, hurup, clwup, cliup, husraup, hussnup, tke]
37+
period: 10mins
38+
- short_name: [entr, detr, lmix, bgrad, strain, edt, evu]
39+
period: 10mins
40+
- short_name: [husra, hussn]
3741
period: 10mins

post_processing/ci_plots.jl

Lines changed: 19 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1391,16 +1391,19 @@ EDMFBoxPlots = Union{
13911391
Val{:prognostic_edmfx_bomex_box},
13921392
Val{:rcemipii_box_diagnostic_edmfx},
13931393
Val{:prognostic_edmfx_soares_column},
1394-
Val{:diagnostic_edmfx_dycoms_rf02_box},
1395-
Val{:diagnostic_edmfx_rico_box},
1396-
Val{:diagnostic_edmfx_trmm_box},
13971394
Val{:diagnostic_edmfx_trmm_stretched_box},
13981395
}
13991396

14001397
EDMFBoxPlotsWithPrecip = Union{
14011398
Val{:prognostic_edmfx_rico_column},
14021399
Val{:prognostic_edmfx_trmm_column},
14031400
}
1401+
1402+
DiagEDMFBoxPlotsWithPrecip = Union{
1403+
Val{:diagnostic_edmfx_dycoms_rf02_box},
1404+
Val{:diagnostic_edmfx_rico_box},
1405+
Val{:diagnostic_edmfx_trmm_box},
1406+
}
14041407
"""
14051408
plot_edmf_vert_profile!(grid_loc, var_group)
14061409
@@ -1476,14 +1479,23 @@ function pair_edmf_names(short_names)
14761479
end
14771480

14781481
function make_plots(
1479-
sim_type::Union{EDMFBoxPlots, EDMFBoxPlotsWithPrecip},
1482+
sim_type::Union{
1483+
EDMFBoxPlots,
1484+
EDMFBoxPlotsWithPrecip,
1485+
DiagEDMFBoxPlotsWithPrecip,
1486+
},
14801487
output_paths::Vector{<:AbstractString},
14811488
)
14821489
simdirs = SimDir.(output_paths)
14831490

1484-
precip_names =
1485-
sim_type isa EDMFBoxPlotsWithPrecip ?
1486-
("husra", "hussn", "husraup", "hussnup", "husraen", "hussnen") : ()
1491+
if sim_type isa EDMFBoxPlotsWithPrecip
1492+
precip_names =
1493+
("husra", "hussn", "husraup", "hussnup", "husraen", "hussnen")
1494+
elseif sim_type isa DiagEDMFBoxPlotsWithPrecip
1495+
precip_names = ("husra", "hussn", "husraup", "hussnup")
1496+
else
1497+
precip_names = ()
1498+
end
14871499

14881500
short_names = [
14891501
"wa",

0 commit comments

Comments
 (0)