Lite Controller (rojak.orchestrator.lite_controller)#
Business logic behind the rojak lite turbulence commands
Each public function here implements one step of the low-memory, step-by-step turbulence workflow driven by
rojak.cli.lite_interface: computing diagnostic distribution parameters
(compute_distribution_parameters()), severity thresholds (compute_thresholds()), exporting raw
diagnostic values (export_turbulence_diagnostics()), converting diagnostics into an ensemble EDR
(compute_and_export_ensemble_edr()), and computing correlation between thresholded diagnostics
(correlation_between_diagnostics()). Diagnostic values are obtained either by computing them fresh from
meteorological data, or by loading them back from a previous export_turbulence_diagnostics() run (see
DiagnosticsFormat and get_computed_diagnostic_helper()).
Functions
|
Block until every dask future backing |
|
Convert every diagnostic configured in |
|
Compute and export the log-normal distribution parameters of every diagnostic configured in |
|
Compute and export percentile-based severity thresholds for every diagnostic configured in |
|
Compute the Matthew's Correlation Coefficient between every pair of diagnostics, thresholded at |
|
Combine every diagnostic configured in |
|
Serialise |
|
Compute every diagnostic configured in |
|
Build a function computing/loading a single diagnostic's value by name |
|
Load a mapping of diagnostic name to |
|
Load a mapping of diagnostic name to |