circular_shelf test group (
implements variants a circular_shelf test case (see circular_shelf). Here,
we describe the shared framework for this test group.
The shared config options for the
circular_shelf test group are described
in circular_shelf in the User’s Guide.
Additionally, the test group has a shared
namelist.landice file with
appropriate namelist options, and a
streams.landice file that defines
compass.landice.tests.circular_shelf.setup_mesh.SetupMesh defines a
step for setting up the mesh for the test case.
The horizontal mesh is
constructed at runtime (using
A MALI grid is created with the MPAS-Tools script
create_landice_grid_from_generic_MPAS_grid.py and a graph file is created
to partition the mesh before the model run.
Finally, the initial condition is defined in the private function
compass.landice.tests.circular_shelf.run_model.RunModel defines a
step for running MALI from the initial condition produced in
compass.landice.tests.circular_shelf.visualize.Visualize step is optional
in each test case and can be run manually to plot the results of the test case.
It is control by the config options in the
This step is not run by default by adding it with
step = Visualize(test_case=self, mesh_type=mesh_type)
performs a 200-year run once on 1 core and once on 4 cores. It ensures that
uReconstructY are within a
small tolerance of each other between the two runs (as well as with a baseline
if one is provided when calling compass setup).