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
CombineStepsetsdefault_cached = Truein 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’ssubdirtoself.free_running_stepsin their__init__, asCubedSphereCombineTaskdoes.- 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.