Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions test/Project.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[deps]
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
ArgParse = "c7e460c6-2fb9-53a9-8c5b-16f535851c63"
CairoMakie = "13f3f980-e62b-5c42-98c6-ff1f3baf88f0"
ClimaCore = "d414da3d-4745-48bb-8d80-42e94e092884"
ClimaCorePlots = "cf7c7e5a-b407-4c48-9047-11a94a308626"
ClimaParams = "5c42b081-d73a-476f-9059-fd94b934656c"
Expand Down
7 changes: 4 additions & 3 deletions test/plotting_utils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@ import NCDatasets as NC
import CloudMicrophysics.PrecipitationSusceptibility as CMPS

ENV["GKSwstype"] = "nul"
using ClimaCorePlots, Plots
import ClimaCorePlots, Plots
Plots.GRBackend()
using CairoMakie

function plot_initial_profiles_comparison(KM; sdm_case = "dry")
sdm_data = load_sdm_data(sdm_case)
Expand Down Expand Up @@ -235,7 +236,7 @@ function plot_animation_p3(z_centers, solver, aux, moisture, precip, K1D, output
p8 = plot_data(N_liq[:, i], "N_liq [1/cm^3]", maximum(N_liq))
p9 = plot_data(N_ice[:, i], "N_ice [1/cm^3]", maximum(N_ice))
p10 = plot_data(N_rai[:, i], "N_rai [1/cm^3]", maximum(N_rai))
plot(
Plots.plot(
p1,
p2,
p3,
Expand Down Expand Up @@ -300,7 +301,7 @@ function plot_animation(nc_data_file; output = "output")
p6 = plot_data(q_ice[:, i] .* 1e3, "q_ice [g/kg]", maximum(q_ice))
p7 = plot_data(q_sno[:, i] .* 1e3, "q_sno [g/kg]", maximum(q_sno))

plot(
Plots.plot(
p1,
p2,
p3,
Expand Down
Loading