compass.ocean.tests.hurricane.forward.Forward¶
- class compass.ocean.tests.hurricane.forward.Forward(test_group, mesh, storm, init, use_lts)[source]¶
A test case for performing a forward run for a hurricane case
- Variables:
mesh (compass.ocean.tests.global_ocean.mesh.Mesh) – The test case that produces the mesh for this run
init (compass.ocean.tests.hurricane.init.Init) – The test case that produces the initial condition for this run
- __init__(test_group, mesh, storm, init, use_lts)[source]¶
Create test case
- Parameters:
test_group (compass.ocean.tests.hurricane.Hurricane) – The test group that this test case belongs to
mesh (compass.ocean.tests.global_ocean.mesh.Mesh) – The test case that produces the mesh for this run
storm (str) – The name of the storm to be run
init (compass.ocean.tests.hurricane.init.Init) – The test case that produces the initial condition for this run
use_lts (bool) – Whether local time-stepping is to be used
Methods
__init__
(test_group, mesh, storm, init, use_lts)Create test case
add_step
(step[, run_by_default])Add a step to the test case
check_validation
()Check the test case's "validation" dictionary to see if validation failed.
Modify the configuration options for this test case
run
()This method is deprecated.
validate
()Test cases can override this method to perform validation of variables and timers