polaris.tasks.mesh.spherical.unified.coastline.LatLonCoastlineTask

class polaris.tasks.mesh.spherical.unified.coastline.LatLonCoastlineTask(component, resolution)[source]

A task for preparing coastline products on a latitude-longitude grid.

At the finest supported resolution the task runs a full ComputeCoastlineStep. At coarser resolutions the task runs a RemapCoastlineStep that remaps from the finest-resolution output, preserving the higher-fidelity coastline geometry.

__init__(component, resolution)[source]

Create a new task.

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

  • resolution (float) – The latitude-longitude resolution in degrees

Methods

__init__(component, resolution)

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()

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