improver.cli.phase_mask module

Interface to significant_phase_mask.

process(cube, phase, *, model_id_attr=None)[source]

Make phase-mask cube for the specified phase.

Parameters:
  • cube (iris.cube.Cube) – The input snow-fraction data to derive the phase mask from.

  • phase (str) – One of “rain”, “sleet” or “snow”. This is the phase mask that will be returned.

  • model_id_attr (str) – Name of the attribute used to identify the source model for blending.