improver.cli.manipulate_reliability_table module

CLI to manipulate a reliability table cube.

process(reliability_table, *, minimum_forecast_count=200, point_by_point=False)[source]

Manipulate a reliability table to ensure sufficient sample counts in as many bins as possible by combining bins with low sample counts. Also enforces a monotonic observation frequency.

Parameters:
  • reliability_table (iris.cube.Cube) – The reliability table that needs to be manipulated after the spatial dimensions have been aggregated.

  • minimum_forecast_count (int) – The minimum number of forecast counts in a forecast probability bin for it to be used in calibration. The default value of 200 is that used in Flowerdew 2014.

  • point_by_point (bool) – Whether to process each point in the input cube independently. Please note this option is memory intensive and is unsuitable for gridded input

Returns:

The reliability table that has been manipulated to ensure sufficient sample counts in each probability bin and a monotonic observation frequency. The cubelist contains a separate cube for each threshold in the original reliability table.

Return type:

iris.cube.CubeList