Skip to content

Commit

Permalink
modify ci_plots
Browse files Browse the repository at this point in the history
  • Loading branch information
szy21 committed Feb 19, 2024
1 parent b9e5d1a commit 7761daa
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions post_processing/ci_plots.jl
Original file line number Diff line number Diff line change
Expand Up @@ -598,7 +598,10 @@ function make_plots(
output_paths::Vector{<:AbstractString},
)
simdirs = SimDir.(output_paths)
vars = map_comparison(simdirs, short_names)
short_names, reduction = ["pfull", "va", "wa", "rv"], "inst"
vars = map_comparison(simdirs, short_names) do simdir, short_name
return get(simdir; short_name, reduction)
end
make_plots_generic(output_paths, vars, z = 1500, time = 10days)
end

Expand All @@ -609,7 +612,7 @@ function make_plots(
simdirs = SimDir.(output_paths)
short_names, reduction = ["pfull", "va", "wa", "rv", "hus"], "inst"
vars = map_comparison(simdirs, short_names) do simdir, short_name
return get(simdir; short_name, reduction) |> ClimaAnalysis.average_lon
return get(simdir; short_name, reduction)
end
make_plots_generic(output_paths, vars, z = 1500, time = LAST_SNAP)
end
Expand Down Expand Up @@ -643,8 +646,10 @@ function make_plots(
output_paths::Vector{<:AbstractString},
)
simdirs = SimDir.(output_paths)
short_names = ["pfull", "va", "wa", "rv", "hus"]
vars = map_comparison(simdirs, short_names)
short_names, reduction = ["pfull", "va", "wa", "rv", "hus"], "inst"
vars = map_comparison(simdirs, short_names) do simdir, short_name
return get(simdir; short_name, reduction)
end
make_plots_generic(output_paths, vars, z = 1500, time = 10days)
end

Expand Down

0 comments on commit 7761daa

Please sign in to comment.