improver.cli.lightning_from_cape_and_precip module
Script to apply latitude-dependent thresholding to a parameter dataset.
- process(*cubes, model_id_attr=None)[source]
Apply latitude-dependent thresholds to CAPE and precipitation rate to derive a probability-of-lightning cube. Does not collapse a realization coordinate.
- Parameters:
cubes (list of iris.cube.Cube) – A cube to be processed.
model_id_attr (str) – Name of the attribute used to identify the source model for blending.
- Returns:
Cube of probabilities of lightning relative to a zero rate thresholds
- Return type: