pyart.filters.snr_based_gate_filter#

pyart.filters.snr_based_gate_filter(radar, snr_field=None, min_snr=10.0, max_snr=None)[source]#

Create a filter which removes undesired gates based on SNR.

Parameters:
  • radar (Radar) – Radar object from which the gate filter will be built.

  • snr_field (str) – Name of the radar field which contains the signal to noise ratio. A value of None for will use the default field name as defined in the Py-ART configuration file.

  • min_snr (float) – Minimum value for the SNR. Gates below this limits as well as gates which are masked or contain invalid values will be excluded and not used in calculation which use the filter. A value of None will disable filtering based upon the field including removing masked or gates with an invalid value. To disable the thresholding but retain the masked and invalid filter set the parameter to a value below the lowest value in the field.

  • max_snr (float) – Maximum value for the SNR

Returns:

gatefilter (GateFilter) – A gate filter based upon the described criteria. This can be used as a gatefilter parameter to various functions in pyart.correct.