improver.cli.cubelist_extract module#
Script to extract a cube from a cubelist
- process(cubes, *, name)[source]#
Extract a single cube from a cubelist whose name matches the provided name.
- Parameters:
cubes (iris.cube.CubeList) – A cubelist containing exactly one cube with the provided name to be extracted.
name (str) – The name of the cube to be extracted.
- Returns:
The extracted cube whose name matches the provided name.
- Return type: