improver.utilities.time_lagging module

Provide support utilities for time lagging ensembles

class GenerateTimeLaggedEnsemble[source]

Bases: BasePlugin

Combine realizations from different forecast cycles into one cube

_abc_impl = <_abc_data object>
process(cubelist)[source]

Take an input cubelist containing forecasts from different cycles and merges them into a single cube.

The steps taken are:
  1. Update forecast reference time and period to match the latest contributing cycle.

  2. Check for duplicate realization numbers. If a duplicate is found, renumber all of the realizations uniquely.

  3. Concatenate into one cube along the realization axis.

Parameters:

cubelist (Union[List[Cube], CubeList]) – List of input forecasts

Return type:

Cube

Returns:

Concatenated forecasts