polaris.ocean.tasks.sphere_transport.SphereTransport
- class polaris.ocean.tasks.sphere_transport.SphereTransport(component, config, case_name, icosahedral, include_viz, refinement='both')[source]
A test case for testing properties of tracer advection
- Variables:
- __init__(component, config, case_name, icosahedral, include_viz, refinement='both')[source]
Create test case for creating a global MPAS-Ocean mesh
- Parameters:
component (polaris.ocean.Ocean) – The ocean component that this task belongs to
config (polaris.config.PolarisConfigParser) – A shared config parser
case_name (string) – The name of the case which determines what variant of the configuration to use
icosahedral (bool) – Whether to use icosahedral, as opposed to less regular, JIGSAW meshes
include_viz (bool) – Include VizMap and Viz steps for each resolution
refinement (str, optional) – Refinement type. One of ‘space’, ‘time’ or ‘both’ indicating both space and time
Methods
__init__
(component, config, case_name, ...)Create test case for creating a global MPAS-Ocean mesh
add_step
([step, subdir, symlink, run_by_default])Add a step to the task and component (if not already present)
Set config options for the test case
remove_step
(step)Remove the given step from this task and the component
set_shared_config
(config[, link])Replace the task's config parser with the shared config parser