improver.cli.hail_fraction module
Script to calculate a hail fraction.
- process(*cubes, model_id_attr=None)[source]
Calculates the fraction of precipitation that is forecast to fall as hail.
- Parameters:
cubes (iris.cube.CubeList or list) – Contains cubes of the maximum vertical updraught, hail size, cloud condensation level temperature, convective cloud top temperature, altitude of hail to rain falling level and the altitude of the orography.
model_id_attr (str) – Name of the attribute used to identify the source model for blending.
- Returns:
A single cube containing the hail fraction.
- Return type: