compass.ocean.tests.global_ocean.dynamic_adjustment.DynamicAdjustment

class compass.ocean.tests.global_ocean.dynamic_adjustment.DynamicAdjustment(test_group, mesh, init, time_integrator, restart_filenames)[source]

A parent test case for performing dynamic adjustment (dissipating fast-moving waves) from an MPAS-Ocean initial condition.

The final stage of the dynamic adjustment is assumed to be called simulation, and is expected to have a file output.nc that can be compared against a baseline.

Variables

restart_filenames (list of str) – A list of restart files from each dynamic-adjustment step

__init__(test_group, mesh, init, time_integrator, restart_filenames)[source]

Create the test case

Parameters

Methods

__init__(test_group, mesh, init, ...)

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

Run each step of the testcase

validate()

Test cases can override this method to perform validation of variables and timers