Skip to content

Commit 79e7695

Browse files
authored
Merge pull request #4149 from CliMA/aj/kinematic_testing
Fix plotting in KID
2 parents 1589d74 + 2eea811 commit 79e7695

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

config/model_configs/kinematic_driver.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ initial_condition: ShipwayHill2012
44
surface_setup: ShipwayHill2012
55
energy_q_tot_upwinding: first_order
66
tracer_upwinding: first_order
7-
# moist: "nonequil"
8-
# precip_model: "1M"
9-
moist: "equil"
10-
precip_model: "0M"
7+
moist: "nonequil"
8+
precip_model: "1M"
9+
#moist: "equil"
10+
#precip_model: "0M"
1111
cloud_model: "grid_scale"
1212
call_cloud_diagnostics_per_stage: true
1313
config: "column"

post_processing/ci_plots.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -594,7 +594,7 @@ function make_plots(::ColumnPlots, output_paths::Vector{<:AbstractString})
594594
short_names = ["ta", "wa"]
595595
vars = map_comparison(simdirs, short_names) do simdir, short_name
596596
var = get(simdir; short_name)
597-
# For vertical-only (FiniteDifferenceGrid) spaces, the data may have
597+
# For vertical-only (FiniteDifferenceGrid) spaces, the data may have
598598
# extra singleton dimensions. Check and squeeze if needed.
599599
if haskey(var.dims, "x") && length(var.dims["x"]) == 1
600600
var = slice(var; x = var.dims["x"][1])
@@ -1575,7 +1575,7 @@ function make_plots(::Val{:kinematic_driver}, output_paths::Vector{<:AbstractStr
15751575
]
15761576
short_names = short_names collect(keys(simdirs[1].vars))
15771577
vars = map_comparison(simdirs, short_names) do simdir, short_name
1578-
var = slice(get(simdir; short_name), x = 0, y = 0)
1578+
var = get(simdir; short_name)
15791579
if short_name in ["hus", "clw", "husra", "cli", "hussn"]
15801580
var.data .= var.data .* 1000
15811581
var.attributes["units"] = "g/kg"
@@ -1589,7 +1589,7 @@ function make_plots(::Val{:kinematic_driver}, output_paths::Vector{<:AbstractStr
15891589
short_names_lines = ["lwp", "rwp", "pr"]
15901590
short_names_lines = short_names_lines collect(keys(simdirs[1].vars))
15911591
vars_lines = map_comparison(simdirs, short_names_lines) do simdir, short_name
1592-
var = slice(get(simdir; short_name), x = 0, y = 0)
1592+
var = get(simdir; short_name)
15931593
return rescale_time_to_min(var)
15941594
end
15951595
make_plots_generic(output_paths, vars_lines; summary_files = [file_contour])

0 commit comments

Comments
 (0)