Skip to content

Commit

Permalink
add shows
Browse files Browse the repository at this point in the history
  • Loading branch information
juliasloan25 committed Sep 25, 2024
1 parent f88171d commit 628044f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion experiments/ClimaEarth/user_io/ci_plots.jl
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ function make_plots_generic(

# Save plots
output_file = joinpath(plot_path, "$(output_name).pdf")
@show "saved at $output_file"

pdfunite() do unite
run(Cmd([unite, summary_files..., output_file]))
Expand Down Expand Up @@ -188,6 +189,8 @@ function make_ci_plots(
vars_2D = filter(var -> !CAN.has_altitude(var), vars)

# Generate plots and save in `plot_path`
make_plots_generic(output_path, plot_path, vars_3D, time = LAST_SNAP, more_kwargs = YLINEARSCALE)
@show "3D first"
make_plots_generic(output_path, plot_path, vars_3D, time = LAST_SNAP, output_name = "summary_3D", more_kwargs = YLINEARSCALE)
@show "2D now"
make_plots_generic(output_path, plot_path, vars_2D, time = LAST_SNAP, output_name = "summary_2D")
end

0 comments on commit 628044f

Please sign in to comment.