improver.cli.expand_realization_dimension module

Contents

improver.cli.expand_realization_dimension module#

Script to expand the realization dimension of a cube.

process(cube, *, n_realizations_required)[source]#

Expand the realization dimension of a cube.

Parameters:
  • cube (inputcube) – Cube to be expanded.

  • n_realizations_required (int) – Number of realizations required in the expanded cube.

Returns:

iris.cube.Cube

Expanded cube. Dimensions are the same as input cube, with the realization dimension expanded to the specified size.