TurbulenceProbabilityBySeverity#

class rojak.turbulence.analysis.TurbulenceProbabilityBySeverity(computed_diagnostic, pressure_levels, severities, thresholds, threshold_mode)[source]#

Computes probability of encountering turbulence of each severity for a given turbulence diagnostic

Parameters:
__init__(computed_diagnostic, pressure_levels, severities, thresholds, threshold_mode)[source]#
Parameters:
  • computed_diagnostic (DataArray) – Computed diagnostic values

  • pressure_levels (list[float]) – Pressure levels to compute the probability for

  • severities (list[TurbulenceSeverity]) – Turbulence severities to compute the probability of encountering

  • thresholds (TurbulenceThresholds) – Thresholds used to determine each severity

  • threshold_mode (TurbulenceThresholdMode) – Whether the thresholds are bounded intervals or lower bounds

Return type:

None

Methods

__init__(computed_diagnostic, ...)

execute()

Compute the percentage probability of encountering turbulence of each severity, averaged over time