polaris.tasks.mesh.base.BaseMeshTask
- class polaris.tasks.mesh.base.BaseMeshTask(component, resolution, icosahedral)[source]
A task for creating a uniform spherical mesh with a given resolution
- __init__(component, resolution, icosahedral)[source]
Create the base mesh task
- Parameters:
component (polaris.tasks.ocean.Ocean) – The ocean component that this task belongs to
resolution (float) – The resolution in km of the mesh
icosahedral (bool) – Whether the mesh is a subdivided icosahedral mesh, as opposed to a quasi-uniform mesh
Methods
__init__(component, resolution, icosahedral)Create the base mesh task
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