pyrad.util.get_data_along_rng#

pyrad.util.get_data_along_rng(radar, field_name, fix_elevations, fix_azimuths, ang_tol=1.0, rmin=None, rmax=None, use_altitude=False)[source]#

Get data at particular (azimuths, elevations)

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

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

  • fix_elevations, fix_azimuths (list of floats or None) – List of elevations, azimuths couples [deg] if one of them is None all angles corresponding to one of the fixed angles specified will be gathered

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

  • rmin, rmax (float) – Min and Max range of the obtained data [m]

  • use_altitude (bool) – If True instead of range the x_vals is gate altitude

Returns:

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

  • yvals (list of float arrays) – The values

  • valid_azi, valid_ele (float arrays) – The azi, ele pairs