compass.ocean.tests.global_ocean.init.Init

class compass.ocean.tests.global_ocean.init.Init(test_group, mesh, initial_condition)[source]

A test case for creating initial conditions on a global MPAS-Ocean mesh

Variables:
  • mesh (compass.ocean.tests.global_ocean.mesh.Mesh) – The test case that creates the mesh used by this test case

  • initial_condition ({'WOA23', 'PHC', 'EN4_1900'}) – The initial condition dataset to use

  • init_subdir (str) – The subdirectory within the test group for all test cases with this initial condition

__init__(test_group, mesh, initial_condition)[source]

Create the test case

Parameters:

Methods

__init__(test_group, mesh, initial_condition)

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([config])

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