compass.ocean.tests.baroclinic_gyre.GyreTestCase

class compass.ocean.tests.baroclinic_gyre.GyreTestCase(test_group, resolution, long)[source]

A class to define the baroclinic gyre test cases

Variables:

resolution (float) – The resolution of the test case (m)

__init__(test_group, resolution, long)[source]

Create the test case

Parameters:
  • test_group

  • compass.ocean.tests.baroclinic_gyre.BaroclinicGyre – The test group that this test case belongs to

  • resolution (float) – The resolution of the test case (m)

  • long (bool) – Whether to run a long (3-year) simulation to quasi-equilibrium

Methods

__init__(test_group, resolution, long)

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()

Set config options for the test case

run()

This method is deprecated.

validate()

Validate variables against a baseline