pyrad.util.get_data_along_azi#
- pyrad.util.get_data_along_azi(radar, field_name, fix_ranges, fix_elevations, rng_tol=50.0, ang_tol=1.0, azi_start=None, azi_stop=None)[source]#
Get data at particular (ranges, elevations)
- Parameters:
radar (radar object) – the radar object where the data is
field_name (str) – name of the field to filter
fix_ranges, fix_elevations (list of floats) – List of ranges [m], elevations [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]
azi_start, azi_stop (float) – Start and stop azimuth angle of the data [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