Skip to content

Commit

Permalink
update heat-diff path
Browse files Browse the repository at this point in the history
  • Loading branch information
juliasloan25 committed Dec 2, 2023
1 parent 2d88353 commit 4938833
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions experiments/ClimaCore/heat-diffusion/run.jl
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ ENV["GKSwstype"] = "nul"
import Plots
Plots.GRBackend()

ARTIFACTS_DIR = joinpath(pkgdir(ClimaCoupler), "experiments/ClimaCore/output/heat-diffusion_artifacts")
ARTIFACTS_DIR = joinpath("experiments/ClimaCore/output/heat-diffusion_artifacts")
mkpath(ARTIFACTS_DIR)

# - Vertical profile at start and end
Expand Down Expand Up @@ -338,7 +338,8 @@ Plots.png(
[v1 v2 v1 + v2],
labels = ["lnd" "atm" "tot"],
xlabel = "time (s)",
ylabel = "pseudo-energy (J / m2)",
ylabel = "energy flux (J / m2)",
title = "Component Model Energy during Simulation",
linewidth = 2,
),
joinpath(ARTIFACTS_DIR, "heat-diffusion_f2.png"),
Expand Down

0 comments on commit 4938833

Please sign in to comment.