compass.ocean.tests.ice_shelf_2d.restart_test.RestartTest

class compass.ocean.tests.ice_shelf_2d.restart_test.RestartTest(test_group, resolution, coord_type)[source]

A restart test case for the ice-shelf 2D test case test group, which makes sure the model produces identical results with one longer run and two shorter runs with a restart in between.

Variables:
  • resolution (str) – The resolution of the test case

  • coord_type (str) – The type of vertical coordinate (z-star, z-level, etc.)

__init__(test_group, resolution, coord_type)[source]

Create the test case

Parameters:

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