improver.cli.threshold_interpolation module

Contents

improver.cli.threshold_interpolation module#

Script to run the threshold interpolation plugin.

process(forecast_at_thresholds, *, thresholds)[source]#

Use this CLI to modify the probability thresholds in an existing probability forecast cube by linearly interpolating between the existing thresholds.

Parameters:
  • forecast_at_thresholds (inputcube) – Cube expected to contain a threshold coordinate.

  • thresholds (comma_separated_list) – List of the desired output thresholds.

Returns:

Cube with forecast values at the desired set of thresholds. The threshold coordinate is always the zeroth dimension.