compute_and_export_ensemble_edr#
- rojak.orchestrator.lite_controller.compute_and_export_ensemble_edr(context, /, diagnostics_from)[source]#
Convert every diagnostic configured in
contextinto EDR and export the ensemble-mean resultImplements
rojak lite turbulence export-ensemble-edr(rojak.cli.lite_interface.export_ensemble_edr()). Distribution parameters are loaded fromcontext.load_from(seeload_distribution_parameters_from_file(), produced bycompute_distribution_parameters()); each diagnostic is converted to EDR using those parameters together with theTWENTIES_CLIMATOLOGICAL_PARAMETERclimatological scaling constants, then averaged across diagnostics (MEAN) to give a single ensemble EDR, written tocontext.output_dir.- Parameters:
context (TurbulenceContextWithAdditionalPath) – Configuration listing the diagnostics to convert, the distribution parameters file to load, and where to read diagnostics from/write the result to
diagnostics_from (DiagnosticsFormat) – Where to obtain each diagnostic’s value from
- Return type:
None