compass.ocean.tests.global_ocean.files_for_e3sm.FilesForE3SM¶
- class compass.ocean.tests.global_ocean.files_for_e3sm.FilesForE3SM(test_group, mesh, init, dynamic_adjustment)[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
restart_filename (str) – A restart file from the end of the dynamic adjustment test case to use as the basis for an E3SM initial condition
- __init__(test_group, mesh, init, dynamic_adjustment)[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) – 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
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
()Run each step of the test case.
validate
()Test cases can override this method to perform validation of variables and timers