pysteps.nowcasts.utils.stack_cascades

Contents

pysteps.nowcasts.utils.stack_cascades#

pysteps.nowcasts.utils.stack_cascades(precip_decomp, n_levels, convert_to_full_arrays=False)#

Stack the given cascades into a larger array.

Parameters:
  • precip_decomp (list) – List of cascades obtained by calling a method implemented in pysteps.cascade.decomposition.

  • n_levels (int) – The number of cascade levels.

Returns:

out – A list of three-dimensional arrays containing the stacked cascade levels.

Return type:

tuple