Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
nefrathenrici committed Feb 17, 2024
1 parent 1fcf2ab commit 6956aef
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
13 changes: 11 additions & 2 deletions docs/src/emulate_sample_example.jl
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,19 @@ import CalibrateAtmos as CAL

y_obs = [261.5493]
y_noise_cov = [0.02619;;]
ekp = JLD2.load_object(joinpath("assets", "eki_file_for_emulate_example.jld2"))
ekp = JLD2.load_object(
joinpath(
pkgdir(CAL),
"docs",
"src",
"assets",
"eki_file_for_emulate_example.jld2",
),
)
init_params = [EKP.get_u_final(ekp)[1]]
println(pwd())

prior_path = joinpath(
pkgdir(CAL),
"experiments",
"sphere_held_suarez_rhoe_equilmoist",
"parameters.toml",
Expand Down
1 change: 1 addition & 0 deletions test/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ CalibrateEmulateSample = "95e48a1f-0bec-4818-9538-3db4340308e3"
ClimaCore = "d414da3d-4745-48bb-8d80-42e94e092884"
Distributions = "31c24e10-a181-5473-b8eb-7969acd0382f"
EnsembleKalmanProcesses = "aa8a2aa5-91d8-4396-bcef-d4f2ec43552d"
JLD2 = "033835bb-8acc-5ee8-8aae-3f567f8a3819"
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
SafeTestsets = "1bc83da4-3b8d-516f-aca4-4fe02f6d838f"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
2 changes: 1 addition & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ using Test

include("test_init.jl")
include("test_atmos_config.jl")
include("test_emulate_sample.jl")
include("test_emulate_sample.jl")

0 comments on commit 6956aef

Please sign in to comment.