polaris.tasks.mesh.spherical.unified.base_mesh.get_unified_base_mesh_steps

polaris.tasks.mesh.spherical.unified.base_mesh.get_unified_base_mesh_steps(mesh_name, include_viz=False)[source]

Get shared steps for building one named unified base mesh.

Calls the upstream step factories for combined topography, coastline, river network, and sizing field, then creates the base-mesh build step. All upstream factories return dicts keyed by step name; the returned dict preserves insertion order: combine-topo, coastline, river-source, river-lat-lon, river-base-mesh, sizing-field, base-mesh build, and optionally visualization.

Parameters:
  • mesh_name (str) – The name of the unified mesh.

  • include_viz (bool, optional) – Whether to include the visualization step.

Returns:

  • steps (dict of str to polaris.Step) – All steps needed to build the base mesh, keyed by step name.

  • config (polaris.config.PolarisConfigParser) – The shared config options for the named unified base mesh.