pyart.filters.iso0_based_gate_filter#

pyart.filters.iso0_based_gate_filter(radar, iso0_field=None, max_h_iso0=0.0, thickness=400.0, beamwidth=None)[source]#

Create a filter which removes undesired gates based height over the iso0. Used primarily to filter out the melting layer and gates above it.

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

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

  • max_h_iso0 (float) – Maximum height relative to the iso0 in m. 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.

  • thickness (float) – The estimated thickness of the melting layer in m.

  • beamwidth (float) – The radar antenna 3 dB beamwidth [deg].

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.