pyrad.util.get_data_along_ele#

pyrad.util.get_data_along_ele(radar, field_name, fix_ranges, fix_azimuths, rng_tol=50.0, ang_tol=1.0, ele_min=None, ele_max=None)[source]#

Get data at particular (ranges, azimuths)

Parameters:
  • radar (radar object) – the radar object where the data is

  • field_name (str) – name of the field to filter

  • fix_ranges, fix_azimuths (list of floats) – List of ranges [m], azimuths [deg] couples

  • rng_tol (float) – Tolerance between the nominal range and the radar range [m]

  • ang_tol (float) – Tolerance between the nominal angle and the radar angle [deg]

  • ele_min, ele_max (float) – Min and max elevation angle [deg]

Returns:

  • xvals (list of float arrays) – The ranges of each rng, ele pair

  • yvals (list of float arrays) – The values

  • valid_rng, valid_ele (float arrays) – The rng, ele pairs