compass.ocean.tests.internal_wave.rpe_test.RpeTest¶
- class compass.ocean.tests.internal_wave.rpe_test.RpeTest(test_group)[source]¶
The reference potential energy (RPE) test case for the internal wave test group performs a 20-day integration of the model forward in time at 5 different values of the viscosity at the given resolution.
- Variables
resolution (str) – The resolution of the test case
- __init__(test_group)[source]¶
Create the test case
- Parameters
test_group (compass.ocean.tests.internal_wave.InternalWave) – The test group that this test case belongs to
Methods
__init__
(test_group)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
()Run each step of the test case.
validate
()Test cases can override this method to perform validation of variables and timers