improver.cli.nowcast_optical_flow module

Script to calculate optical flow advection velocities with option to extrapolate.

process(orographic_enhancement, *cubes)[source]

Calculate optical flow components from input fields.

Parameters:
  • orographic_enhancement (iris.cube.Cube) – Cube containing the orographic enhancement fields.

  • cubes (iris.cube.CubeList) – Cubes from which to calculate optical flow velocities. These three cubes will be sorted by their time coords.

Returns:

List of the umean and vmean cubes.

Return type:

iris.cube.CubeList