Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix test dependencies on savepoints #349

Merged
merged 12 commits into from
Feb 6, 2024
Prev Previous commit
Next Next commit
merge main
  • Loading branch information
halungge committed Jan 22, 2024
commit 075d940b07f0ce35f15ffe456d7ced902ec5e4d3
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ def test_validate_divdamp_fields_against_savepoint_values(
def test_nonhydro_predictor_step(
istep_init,
istep_exit,
jstep_init,
step_date_init,
step_date_exit,
icon_grid,
Expand All @@ -124,7 +125,6 @@ def test_nonhydro_predictor_step(
vertical_params = create_vertical_params(damping_height, grid_savepoint)
dtime = sp.get_metadata("dtime").get("dtime")
recompute = sp.get_metadata("recompute").get("recompute")
dyn_timestep = sp.get_metadata("dyn_timestep").get("dyn_timestep")
linit = sp.get_metadata("linit").get("linit")

nnow = 0
Expand Down Expand Up @@ -704,7 +704,6 @@ def test_run_solve_nonhydro_single_step(
nnew = 1
recompute = sp.get_metadata("recompute").get("recompute")
linit = sp.get_metadata("linit").get("linit")
dyn_timestep = sp.get_metadata("dyn_timestep").get("dyn_timestep")

diagnostic_state_nh = construct_diagnostics(sp)

Expand Down Expand Up @@ -817,10 +816,8 @@ def test_run_solve_nonhydro_multi_step(
nnew = 1
recompute = sp.get_metadata("recompute").get("recompute")
linit = sp.get_metadata("linit").get("linit")
dyn_timestep = sp.get_metadata("dyn_timestep").get("dyn_timestep")

diagnostic_state_nh = construct_diagnostics(sp)

prognostic_state_ls = create_prognostic_states(sp)

interpolation_state = construct_interpolation_state_for_nonhydro(interpolation_savepoint)
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.