compass.ocean.tests.drying_slope.decomp.Decomp¶
- class compass.ocean.tests.drying_slope.decomp.Decomp(test_group, resolution, coord_type, method)[source]¶
A decomposition test case for the baroclinic channel test group, which makes sure the model produces identical results on 1 and 12 cores.
- Variables:
- __init__(test_group, resolution, coord_type, method)[source]¶
Create the test case
- Parameters:
test_group (compass.ocean.tests.drying_slope.DryingSlope) – The test group that this test case belongs to
resolution (float) – The resolution of the test case in km
coord_type (str) – The type of vertical coordinate (
sigma
,single_layer
)method (str) – The type of wetting-and-drying algorithm
Methods
__init__
(test_group, resolution, coord_type, ...)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