pyrad.util.find_nearest_gate#

pyrad.util.find_nearest_gate(radar, lat, lon, latlon_tol=0.0005)[source]#

Find the radar gate closest to a lat,lon point

Parameters:
  • radar (radar object) – the radar object

  • lat, lon (float) – The position of the point

  • latlon_tol (float) – The tolerance around this point

Returns:

  • ind_ray, ind_rng (int) – The ray and range index

  • azi, rng (float) – the range and azimuth position of the gate