compass.ocean.tests.ice_shelf_2d.default.Default¶
- class compass.ocean.tests.ice_shelf_2d.default.Default(test_group, resolution, coord_type, tidal_forcing=False)[source]¶
The default ice-shelf 2D test case, which performs a short forward run with the z-star vertical coordinate and with 15 iterations of adjustment to make the pressure from the weight of the ice shelf match the sea-surface height
- Variables:
- __init__(test_group, resolution, coord_type, tidal_forcing=False)[source]¶
Create the test case
- Parameters:
test_group (compass.ocean.tests.ice_shelf_2d.IceShelf2d) – The test group that this test case belongs to
resolution (str) – The resolution of the test case
coord_type (str) – The type of vertical coordinate (
z-star
,z-level
, etc.)
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.
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