ensemble_eval#

Attributes#

Functions#

evaluate(num_files, forecast_save_loc, conf, model_conf, p)

do_eval(forecast_save_loc, conf, model_conf, fh)

compute ensemble verification per forecast hour across all ICs

_do_standard_eval_on_variable(w_lat, da_pred, da_true, ...)

_do_special_eval_on_variable(w_lat, conf, fh, da_pred, ...)

get_data(sampler, rollout_files, variable, level)

uses a XRSamplerByYear object to sample the true data

check_rollout_files(forecast_save_loc)

checks that all subfolders in forecast_save_loc has the same number of files

Module Contents#

ensemble_eval.evaluate(num_files, forecast_save_loc, conf, model_conf, p)#
ensemble_eval.do_eval(forecast_save_loc, conf, model_conf, fh)#

compute ensemble verification per forecast hour across all ICs returns None values for special metrics when fh not in detailed_eval_hours

ensemble_eval._do_standard_eval_on_variable(w_lat, da_pred, da_true, variable, level)#
ensemble_eval._do_special_eval_on_variable(w_lat, conf, fh, da_pred, da_true, variable, level)#
ensemble_eval.get_data(sampler, rollout_files, variable, level)#

uses a XRSamplerByYear object to sample the true data

ensemble_eval.check_rollout_files(forecast_save_loc)#

checks that all subfolders in forecast_save_loc has the same number of files

ensemble_eval.description = 'evaluate ensemble rollouts'#