wradlib.qual.QualMethods.get_bb_ratio

wradlib.qual.QualMethods.get_bb_ratio#

QualMethods.get_bb_ratio()[source]#

Returns the Bright Band ratio of each PR bin

With SR, we refer to precipitation radars based on space-born platforms such as TRMM or GPM.

This function basically applies the Bright Band (BB) information as provided by the corresponding SR datasets per beam, namely BB height and width, as well as quality flags of the SR beams. A BB ratio of <= 0 indicates that a bin is located below the melting layer (ML), >=1 above the ML, and in between 0 and 1 inside the ML.

Parameters:

obj (xarray.DataArray | xarray.Dataset)

Returns:

obj (xarray.Dataset) – obj with bb ratio and boolean array containing the indices of SR bins connected to the BB.