pysteps.nowcasts.utils.stack_cascades

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

Stack the given cascades into a larger array.

Parameters:
R_d : list

List of cascades obtained by calling a method implemented in pysteps.cascade.decomposition.

n_levels : int

The number of cascade levels.

Returns:
out : tuple

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