polaris.tasks.ocean.realistic_global.analysis_members.AnalysisMembers

class polaris.tasks.ocean.realistic_global.analysis_members.AnalysisMembers(component, subdir, mesh_name, mpaso_id, omega_id, ncells)[source]

A task for exercising the global-statistics analysis member on a realistic global mesh.

The task runs the ocean model forward from a cached initial condition with the global-statistics analysis member enabled, then plots time series of the resulting statistics and global maps of the state variables. Only the forward step runs by default.

__init__(component, subdir, mesh_name, mpaso_id, omega_id, ncells)[source]

Create the test case

Parameters:
  • component (polaris.tasks.ocean.Ocean) – The ocean component that this task belongs to

  • subdir (str) – The subdirectory for the task, to which analysis_members_test will be appended

  • mesh_name (str) – The name of the mesh (e.g. QU.240km)

  • mpaso_id (int) – The ID of the MPAS-Ocean initial condition in the Polaris input database

  • omega_id (int) – The ID of the Omega initial condition in the Polaris input database

  • ncells (int) – The approximate number of cells in the mesh, used to constrain resources

Methods

__init__(component, subdir, mesh_name, ...)

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