pysteps.blending.utils.stack_cascades

Contents

pysteps.blending.utils.stack_cascades#

pysteps.blending.utils.stack_cascades(R_d, donorm=True)#

Stack the given cascades into a larger array.

Parameters:
  • R_d (dict) – Dictionary containing a list of cascades obtained by calling a method implemented in pysteps.cascade.decomposition.

  • donorm (bool) – If True, normalize the cascade levels before stacking.

Returns:

out – A three-element tuple containing a four-dimensional array of stacked cascade levels and arrays of mean values and standard deviations for each cascade level.

Return type:

tuple