pyart.retrieve.melting_layer_hydroclass#

pyart.retrieve.melting_layer_hydroclass(radar, hydro_field=None, ml_field=None, ml_pos_field=None, iso0_field=None, force_continuity=True, dist_max=350.0, get_iso0=False)[source]#

Using the results of the hydrometeor classification by Besic et al. estimates the position of the range gates respect to the melting layer, the melting layer top and bottom height and the distance of the range gate with respect to the freezing level.

Parameters:
  • radar (Radar) – Radar object. Must have and hydrometeor classification field

  • hydro_field (str) – Name of the hydrometeor classification field. A value of None will use the default field name as defined in the Py-ART configuration file.

  • ml_field, ml_pos_field, iso0_field (str) – Name of the melting layer, melting layer heightand iso0 field. A value of None for any of these parameters will use the default field names as defined in the Py-ART configuration file.

  • force_continuity (Bool) – If True, the melting layer is forced to be continuous in range

  • dist_max (float) – The maximum distance between range gates flagged as inside the melting layer to consider them as gates in the melting layer.

Returns:

  • ml_obj (radar-like object) – A radar-like object containing the field melting layer height with the bottom (at range position 0) and top (at range position one) of the melting layer at each ray

  • ml_dict (dict) – A dictionary containg the position of the range gate respect to the melting layer and metadata

  • iso0_dict (dict or None) – A dictionary containing the distance respect to the melting layer and metadata