wradlib.dp.unfold_phi(phidp, rho, width=5, copy=False)[source]#

Unfolds differential phase by adjusting values that exceeded maximum ambiguous range.

Accepts arbitrarily dimensioned arrays, but THE LAST DIMENSION MUST BE THE RANGE.

This is the fast Fortran-based implementation (RECOMMENDED).

The algorithm is based on the paper of [Wang et al., 2009].

  • phidp (numpy.ndarray) – array of shape (…,nr) with nr being the number of range bins

  • rho (numpy.ndarray) – array of same shape as phidp

  • width (int) – Width of the analysis window

  • copy (bool) – Leaves original phidp array unchanged if set to True (default: False)