polaris.ocean.tasks.baroclinic_channel.rpe.Rpe
- class polaris.ocean.tasks.baroclinic_channel.rpe.Rpe(component, resolution, indir, init, config)[source]
The baroclinic channel reference potential energy (RPE) test case performs a 20-day integration of the model forward in time at 5 different values of the viscosity at the given resolution.
- Variables:
resolution (float) – The resolution of the test case in km
- __init__(component, resolution, indir, init, config)[source]
Create the test case
- Parameters:
component (polaris.ocean.Ocean) – The ocean component that this task belongs to
resolution (float) – The resolution of the test case in km
indir (str) – The directory the task is in, to which
name
will be appendedinit (polaris.ocean.tasks.baroclinic_channel.init.Init) – A shared step for creating the initial state
config (polaris.config.PolarisConfigParser) – A shared config parser
Methods
__init__
(component, resolution, indir, init, ...)Create the test case
add_step
([step, subdir, symlink, run_by_default])Add a step to the task and component (if not already present)
Modify the configuration options for this 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