improver.cli.create_grid_with_halo module

Script to generate an ancillary “grid_with_halo” file.

process(cube, *, halo_radius=162000.0)[source]

Generate a zeroed grid with halo from a source cube.

Create a template cube defining a new grid by adding a fixed width halo on all sides to the input cube grid. The cube contains no meaningful data.

Parameters:
  • cube (iris.cube.Cube) – Contains data on the source grid.

  • halo_radius (float) – Radius in metres of which to pad the input grid.

Returns:

The processed cube defining the halo-padded grid (data set to 0)

Return type:

iris.cube.Cube