compass.ocean.tests.global_ocean.files_for_e3sm.FilesForE3SM¶
- class compass.ocean.tests.global_ocean.files_for_e3sm.FilesForE3SM(test_group, mesh=None, init=None, dynamic_adjustment=None)[source]¶
A test case for assembling files needed for MPAS-Ocean and MPAS-Seaice initial conditions in E3SM as well as files needed for diagnostics from the Meridional Overturning Circulation analysis member and MPAS-Analysis
- Variables:
mesh (compass.ocean.tests.global_ocean.mesh.Mesh) – The test case that produces the mesh for this run
init (compass.ocean.tests.global_ocean.init.Init) – The test case that produces the initial condition for this run
dynamic_adjustment (compass.ocean.tests.global_ocean.dynamic_adjustment.DynamicAdjustment) – The test case that performs dynamic adjustment to dissipate fast-moving waves from the initial condition
- __init__(test_group, mesh=None, init=None, dynamic_adjustment=None)[source]¶
Create test case for creating a global MPAS-Ocean mesh
- Parameters:
test_group (compass.ocean.tests.global_ocean.GlobalOcean) – The global ocean test group that this test case belongs to
mesh (compass.ocean.tests.global_ocean.mesh.Mesh, optional) – The test case that produces the mesh for this run
init (compass.ocean.tests.global_ocean.init.Init, optional) – The test case that produces the initial condition for this run
dynamic_adjustment (compass.ocean.tests.global_ocean.dynamic_adjustment.DynamicAdjustment, optional) – The test case that performs dynamic adjustment to dissipate fast-moving waves from the initial condition
Methods
__init__
(test_group[, mesh, init, ...])Create test case for creating a global MPAS-Ocean mesh
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