wradlib.dp.unfold_phi(phidp, rho, *, width=5, copy=False)[source]#
wradlib.dp.unfold_phi(obj: Dataset, **kwargs)

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

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

Uses the fast Fortran-based implementation if the speedup module is compiled.

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, optional) – Width of the analysis window, defaults to 5.

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


phidp (numpy.ndarray) – array of shape (…, n azimuth angles, n range gates) reconstructed \(Phi_{DP}\)