Skip to content

Commit

Permalink
Change criteria for comparison to output for m1002 test.
Browse files Browse the repository at this point in the history
  • Loading branch information
alissarjohnson committed Sep 2, 2021
1 parent 991c7b3 commit b108b79
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/forecast/m1002_ss62_forecast_test.jl
Original file line number Diff line number Diff line change
Expand Up @@ -186,9 +186,9 @@ end

@testset "Compare Modal Forecast for Model 1002 ss62 against reference" begin
ref_out = JLD2.jldopen(joinpath(dirname(@__FILE__), "..", "reference", "ss62_modal_forecast_output_version=$(ver).jld2"), "r")
@test fcast[:forecastobs] ref_out["forecastobs"]
@test fcast[:forecastpseudo] ref_out["forecastpseudo"]
@test fcast[:histpseudo] ref_out["histpseudo"]
@test maximum(abs.(fcast[:forecastobs] - ref_out["forecastobs"])) < 1e-3
@test maximum(abs.(fcast[:forecastpseudo] - ref_out["forecastpseudo"])) < 1e-3
@test maximum(abs.(fcast[:histpseudo] - ref_out["histpseudo"])) < 1e-3
end

nothing

0 comments on commit b108b79

Please sign in to comment.