improver.cli.phase_probability module
Interface to precip_phase_probability.
- process(*cubes, radius=10000.0)[source]
Converts a phase-change-level cube into the probability of a specific precipitation phase being found at the surface.
- Parameters
cubes (iris.cube.CubeList or list) – Contains cubes of the altitude of the phase-change level (this can be snow->sleet, hail->rain or sleet->rain) and the altitude of the orography. The name of the phase-change level cube must be either “altitude_of_snow_falling_level”, “altitude_of_rain_from_hail_falling_level or “altitude_of_rain_falling_level”. The name of the orography cube must be “surface_altitude”.
radius (float) – Neighbourhood radius from which 80th percentile is found (m)