polaris.tasks.ocean.barotropic_channel.short.Short
- class polaris.tasks.ocean.barotropic_channel.short.Short(component, indir=None)[source]
The short barotropic channel test case creates the mesh and initial condition, then performs a 2 hour forward run and plots the results. It is too short for the wind-driven jet to spin up but long enough to catch a regression, so it is the variant that belongs in the Omega suites, where the 2 day default is too expensive.
- __init__(component, indir=None)[source]
Create the test case
- Parameters:
component (polaris.tasks.ocean.Ocean) – The ocean component that this task belongs to
indir (str) – The directory the task is in, to which
namewill be appended
Methods
__init__(component[, indir])Create the test case
add_step([step, subdir, symlink, run_by_default])Add a step to the task and component (if not already present)
configure()Modify the configuration options for this task.
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