wradlib.dp.unfold_phi#

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.

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

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

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

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

Keyword Arguments
  • width (int) – Width of the analysis window

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

Returns

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