wradlib.georef.satellite.correct_parallax#
- wradlib.georef.satellite.correct_parallax(sr_xy, nbin, drt, alpha)[source]#
Adjust the geo-locations of the SR pixels.
With SR, we refer to precipitation radars based on space-born platforms such as TRMM or GPM.
The sr_xy coordinates of the SR beam footprints need to be in the azimuthal equidistant projection of the ground radar. This ensures that the ground radar is fixed at xy-coordinate (0, 0), and every SR bin has its relative xy-coordinates with respect to the ground radar site.
- Parameters:
sr_xy (
numpy.ndarray
) – Array of xy-coordinates of shape (nscans, nbeams, 2)nbin (
int
) – Number of bins along SR beam.drt (
float
) – Gate lenght of SR in meter.alpha (
numpy.ndarray
) – Array of local zenith angles of the SR beams with shape (nscans, nbeams).
- Returns:
sr_xyp (
numpy.ndarray
) – Array of parallax corrected coordinates of shape (nscans, nbeams, nbins, 2).r_sr_inv (
numpy.ndarray
) – Array of ranges from ground to SR platform of shape (nbins).z_sr (
numpy.ndarray
) – Array of SR bin altitudes of shape (nscans, nbeams, nbins).