pyart.filters.visibility_based_gate_filter#

pyart.filters.visibility_based_gate_filter(radar, vis_field=None, min_vis=10.0)[source]#

Create a filter which removes undesired gates based on visibility.

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

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

  • min_vis (float) – Minimum value for the visibility. 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.

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.