pyrad.util.compute_quantiles_sweep#

pyrad.util.compute_quantiles_sweep(field, ray_start, ray_end, quantiles=None)[source]#

computes quantiles of a particular sweep

Parameters:
  • field (ndarray 2D) – the radar field

  • ray_start, ray_end (int) – starting and ending ray indexes

  • quantiles (float array) – list of quantiles to compute

Returns:

  • quantiles (float array) – list of quantiles

  • values (float array) – values at each quantile