pysteps.blending.clim.save_skill

Contents

pysteps.blending.clim.save_skill#

pysteps.blending.clim.save_skill(current_skill, validtime, outdir_path, window_length=30, **kwargs)#

Add the current NWP skill to update today’s daily average skill. If the day is over, update the list of daily average skill covering a rolling window.

Parameters:
  • current_skill (array-like) – Array of shape [model, scale_level, …] containing the current skill of the different NWP models per cascade level.

  • validtime (datetime) – Datetime object containing the date and time for which the current skill are valid.

  • outdir_path (string) – Path to folder where the historical skill are stored. Defaults to path_workdir from rcparams.

  • window_length (int, optional) – Length of window (in days) of daily skill that should be retained. Defaults to 30.

Return type:

None