compass.ocean.tests.hurricane.init.Init¶
- class compass.ocean.tests.hurricane.init.Init(test_group, mesh, storm, use_lts)[source]¶
A test case for creating initial conditions on a global MPAS-Ocean mesh
- Variables:
mesh (compass.ocean.tests.hurricane.mesh.Mesh) – The test case that creates the mesh used by this test case
- __init__(test_group, mesh, storm, use_lts)[source]¶
Create the test case
- Parameters:
test_group (compass.ocean.tests.hurricane.Hurricane) – The hurricane test group that this test case belongs to
mesh (compass.ocean.tests.hurricane.mesh.Mesh) – The test case that creates the mesh used by this test case
storm (str) – The name of the storm to be run
use_lts (bool) – Whether local time-stepping is used
Methods
__init__
(test_group, mesh, storm, use_lts)Create the 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