pysteps.blending.steps.calculate_weights_bps#

pysteps.blending.steps.calculate_weights_bps(correlations)#

Calculate BPS blending weights for STEPS blending from correlation.

Parameters

correlations (array-like) – Array of shape [component, scale_level, …] containing correlation (skills) for each component (NWP and nowcast), scale level, and optionally along [y, x] dimensions.

Returns

weights – Array of shape [component+1, scale_level, …] containing the weights to be used in STEPS blending for each original component plus an addtional noise component, scale level, and optionally along [y, x] dimensions.

Return type

array-like

References

[BPS06]

Notes

The weights in the BPS method can sum op to more than 1.0.