Skip to content

Commit 590abec

Browse files
Merge pull request #4136 from CliMA/ne/diagnostics
Support "inst" reduction in yaml diagnostics
2 parents 61ae2da + 8592d03 commit 590abec

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/callbacks/get_callbacks.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ function get_diagnostics(parsed_args, atmos_model, Y, p, sim_info, output_dir)
2020
# NOTE: Everything has to be lowercase in ALLOWED_REDUCTIONS (so that we can match
2121
# "max" and "Max")
2222
ALLOWED_REDUCTIONS = Dict(
23-
"nothing" => (nothing, nothing), # nothing is: just dump the variable
23+
"inst" => (nothing, nothing), # nothing is: just dump the variable
24+
"nothing" => (nothing, nothing),
2425
"max" => (max, nothing),
2526
"min" => (min, nothing),
2627
"average" => ((+), CAD.average_pre_output_hook!),

0 commit comments

Comments
 (0)