pyart.util.compute_azimuthal_average#

pyart.util.compute_azimuthal_average(radar, field_names, angle=None, delta_azi=None, avg_type='mean', nvalid_min=1, lin_trans=None)[source]#

Computes the azimuthal average

Parameters:
  • radar (Radar object) – input radar objects

  • field_names (list of str) – name of the fields to include in the average

  • angle (float or None) – The center angle to average. If not set or set to -1 all available azimuth angles will be used

  • delta_azi (float) – The angle span to average. If not set or set to -1 all the available azimuth angles will be used

  • avg_type (str) – Average type. Can be mean or median. Default mean

  • nvalid_min (int) – the minimum number of valid points to consdier the average valid. Default 1

  • lin_trans (dict or None) – If a dictionary, specifies which fields have to be averaged in linear units

Returns:

radar_rhi (Radar object) – new radar object where azimuths have been averaged