diff --git a/.buildkite/ci_driver.jl b/.buildkite/ci_driver.jl index 8db3324091..9cd7be014c 100644 --- a/.buildkite/ci_driver.jl +++ b/.buildkite/ci_driver.jl @@ -5,8 +5,8 @@ # (See also Base.type_limited_string_from_context()) redirect_stderr(IOContext(stderr, :stacktrace_types_limited => Ref(false))) # PrecompileCI is a local package that forces commonly used methods to be precompiled, -# allowing them to be reused between Julia sessions. -# To load in the precompiled methods, run `using PrecompileCI` before loading ClimaAtmos. +# allowing them to be reused between Julia sessions. +# To load in the precompiled methods, run `using PrecompileCI` before loading ClimaAtmos. # To see what methods are precompiled, open julia: `julia --project=.buildkite/PrecompileCI` # and run `using PrecompileTools; PrecompileTools.verbose[] = true; include(".buildkite/PrecompileCI/src/PrecompileCI.jl")` using PrecompileCI diff --git a/post_processing/ci_plots.jl b/post_processing/ci_plots.jl index 465dcc55e5..d207b6c820 100644 --- a/post_processing/ci_plots.jl +++ b/post_processing/ci_plots.jl @@ -231,7 +231,7 @@ function make_plots_generic( normalized_path = lpad(path, LABEL_LENGTH + 1, " ")[(end - LABEL_LENGTH):end] - CairoMakie.Label(fig[0, col], path) + CairoMakie.Label(fig[0, col], normalized_path) end end return fig @@ -1606,25 +1606,20 @@ function make_plots(::EDMFSpherePlots, output_paths::Vector{<:AbstractString}) short_name_tuples = pair_edmf_names(short_names) - # The hierarchy is: - # - A vector looping over variables - # - Containing, a vector looping over latitudes - # - Containing, tuples with one or two variables - # - Repeated for each simdir - # All of this is flattened out to be a vector of tuples (with the two gridmean/updraft - # variables) + # Create a flat sequence of variable groups iterating over variable, + # latitude, and simulation directory var_groups_zt = vcat( - map_comparison(simdirs, short_name_tuples) do simdir, name_tuple - return [ - ( + [ + map_comparison(simdirs, latitudes) do simdir, lat + return ( slice( get(simdir; short_name, reduction, period), lon = 0.0, lat = lat, ) for short_name in name_tuple - ) for lat in latitudes - ] - end..., + ) + end for name_tuple in short_name_tuples + ]..., ) var_groups_z = [