polaris.tasks.e3sm.init.topo.remap.RemapTopoTask

class polaris.tasks.e3sm.init.topo.remap.RemapTopoTask(component, base_mesh_step, combine_topo_step, low_res, smoothing=False, include_viz=False)[source]

A task for remapping a topography dataset to a global MPAS mesh first without smoothing and then optionally with smoothing

Variables:

combine_topo_step (polaris.tasks.e3sm.init.topo.CombineStep) – The step for combining global and Antarctic topography on a cubed sphere grid

__init__(component, base_mesh_step, combine_topo_step, low_res, smoothing=False, include_viz=False)[source]

Create a new task

Parameters:
  • component (polaris.Component) – The component the task belongs to

  • base_mesh_step (polaris.mesh.spherical.SphericalBaseStep) – The base mesh step containing input files to this step

  • combine_topo_step (polaris.tasks.e3sm.init.topo.CombineStep) – The step for combining global and Antarctic topography on a cubed sphere grid

  • low_res (bool) – Whether the base mesh is low resolution (120km or coarser), so that a set of config options for low resolution and a lower resolution source topography should be used

  • smoothing (bool, optional) – Whether to create a step with smoothing in addition to the step without smoothing

  • include_viz (bool, optional) – Whether to include visualization steps

Methods

__init__(component, base_mesh_step, ...[, ...])

Create a new task

add_step([step, subdir, symlink, run_by_default])

Add a step to the task and component (if not already present)

configure()

Set the combine_topo_step to be cached

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