polaris.tasks.e3sm.init.topo.combine.get_cubed_sphere_topo_steps

polaris.tasks.e3sm.init.topo.combine.get_cubed_sphere_topo_steps(component, resolution, include_viz=False)[source]

Get shared combined-topography steps for a cubed-sphere target grid.

The CombineStep sets default_cached = True in its constructor because it is expensive to produce. Downstream tasks benefit from cached outputs automatically, and the steps that only feed it are then left out. Tasks that require free-running execution (e.g. standalone combine tasks) should add each returned step’s subdir to self.free_running_steps in their __init__, as CubedSphereCombineTask does.

Parameters:
  • component (polaris.Component) – The component that the steps will be added to.

  • resolution (int) – The cubed-sphere resolution, such as 3000 or 120.

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

Returns:

  • steps (dict of str to polaris.Step) – The steps that prepare the datasets and make the remapping weights, the combine topo step and the optional visualization step, keyed by step name.

  • config (polaris.config.PolarisConfigParser) – The shared config options.