improver.cli.generate_solar_time module

Contents

improver.cli.generate_solar_time module#

Script to run GenerateSolarTime ancillary generation.

process(target_grid, *, time, new_title=None)[source]#

Generate a cube containing local solar time, evaluated on the target grid for specified time. Local solar time is used as an input to the RainForests calibration for rainfall.

Parameters:
  • target_grid (iris.cube.Cube) – A cube with the desired grid.

  • time (str) – A datetime specified in the format YYYYMMDDTHHMMZ at which to calculate the local solar time.

  • new_title (str) – New title for the output cube attributes. If None, this attribute is left out since it has no prescribed standard.

Returns:

A cube containing local solar time.

Return type:

iris.cube.Cube