Skip to content

Commit

Permalink
output diags based on config
Browse files Browse the repository at this point in the history
  • Loading branch information
juliasloan25 committed May 3, 2024
1 parent 59eaf33 commit d0d3ea8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion experiments/AMIP/coupler_driver.jl
Original file line number Diff line number Diff line change
Expand Up @@ -864,7 +864,7 @@ if ClimaComms.iamroot(comms_ctx)
Plots.png(joinpath(COUPLER_ARTIFACTS_DIR, "amip_ncep.png"))

## Compare against observations
if t_end > 84600
if t_end > 84600 && config_dict["output_default_diagnostics"]
@info "Error against observations"
output_dates = cs.dates.date0[] .+ Dates.Second.(atmos_sim.integrator.sol.t)

Expand Down

0 comments on commit d0d3ea8

Please sign in to comment.