diff --git a/Project.toml b/Project.toml index 08d37e27..9a8e872e 100644 --- a/Project.toml +++ b/Project.toml @@ -27,6 +27,7 @@ UnPack = "3a884ed6-31ef-47d7-9d2a-63182c4928ed" [compat] ClimaCore = "0.10" ClimaCorePlots = "0.2" +CloudMicrophysics = "0.11.1" DiffEqBase = "6.75" Distributions = "0.25" EnsembleKalmanProcesses = "0.13" diff --git a/test/Project.toml b/test/Project.toml index 0d0aae0b..3dee4683 100644 --- a/test/Project.toml +++ b/test/Project.toml @@ -28,6 +28,7 @@ UnPack = "3a884ed6-31ef-47d7-9d2a-63182c4928ed" CLIMAParameters = "0.7" ClimaCore = "0.10" ClimaCorePlots = "0.2" +CloudMicrophysics = "0.11.1" DiffEqBase = "6.75" NCDatasets = "0.12" Plots = "1.29" diff --git a/test/plotting_utils.jl b/test/plotting_utils.jl index 10c37613..151357fc 100644 --- a/test/plotting_utils.jl +++ b/test/plotting_utils.jl @@ -126,7 +126,7 @@ function plot_animation(z_centers, solver, aux, moisture, precip, KiD; output = q_liq = q_tot .* 0.0 end - if !(precip isa KiD.Precipitation0M) + if !(precip isa Union{KiD.NoPrecipitation, KiD.Precipitation0M}) q_rai = parent(u.ρq_rai) ./ ρ .* 1e3 else q_rai = q_tot .* 0.0