TurbulentRegionsBySeverity#

class rojak.turbulence.analysis.TurbulentRegionsBySeverity(computed_diagnostic: DataArray, pressure_levels: list[float], severities: list[TurbulenceSeverity], thresholds: TurbulenceThresholds, threshold_mode: TurbulenceThresholdMode, has_parent: bool = False)[source]#

Bases: PostProcessor

Computes turbulent regions by severity for a given turbulence diagnostic

Based on the thresholds for a given turbulence diagnostic, performs a binary classification of whether turbulence is present.

Parameters:
__init__(computed_diagnostic: DataArray, pressure_levels: list[float], severities: list[TurbulenceSeverity], thresholds: TurbulenceThresholds, threshold_mode: TurbulenceThresholdMode, has_parent: bool = False) None[source]#
Parameters:
Return type:

None

Methods

__init__(computed_diagnostic, ...[, has_parent])

execute()