compass.landice.tests.mismipplus.smoke_test.SmokeTest¶
- class compass.landice.tests.mismipplus.smoke_test.SmokeTest(test_group, resolution)[source]¶
A test case for running a smoke test of the MISMIP+ configuration
This test case performs a forward simulation for a short duration using a pre-made mesh file with a 2 km MISMIP+ spin-up that has previously been run to steady state
- __init__(test_group, resolution)[source]¶
Create the test case
- Parameters:
test_group (compass.landice.tests.mismipplus.MISMIPplus) – The test group that this test case belongs to
resolution (float) – The resolution of the test case. Valid options are defined in the test group constructor.
Methods
__init__
(test_group, resolution)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.
configure
()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