improver.cli.wind_gust_diagnostic module
Script to create wind-gust data.
- process(wind_gust, wind_speed, *, wind_gust_percentile=50.0, wind_speed_percentile=95.0)[source]
Create a cube containing the wind_gust diagnostic.
Calculate revised wind-gust data using a specified percentile of wind-gust data and a specified percentile of wind-speed data through the WindGustDiagnostic plugin. The wind-gust diagnostic will be the max of the specified percentile data.
- Parameters:
wind_gust (iris.cube.Cube) – Cube containing one or more percentiles of wind_gust data.
wind_speed (iris.cube.Cube) – Cube containing one or more percentiles of wind_speed data.
wind_gust_percentile (float) – Percentile value required from wind-gust cube.
wind_speed_percentile (float) – Percentile value required from wind-speed cube.
- Returns:
Cube containing the wind-gust diagnostic data.
- Return type: