# Data QualityΒΆ

This module will serve two purposes:

- provide routines to create simple radar data quality related fields.
- provide routines to decide which radar pixel to choose based on the competing information in different quality fields.

Data is supposed to be stored in ‘aligned’ arrays. Aligned here means that all fields are structured such that in each field the data for a certain index is representative for the same physical target.

Therefore no assumptions are made on the dimensions or shape of the input fields except that they exhibit the numpy ndarray interface.

`beam_height_ft` |
Calculates the height of a radar beam above the antenna according to the 4/3 (four-thirds -> ft) effective Earth radius model. |

`beam_height_ft_doviak` |
Calculates the height of a radar beam above the antenna according to the 4/3 (four-thirds -> ft) effective Earth radius model. |

`pulse_volume` |
Calculates the sampling volume of the radar beam per bin depending on range and aperture. |

`beam_block_frac` |
Partial beam blockage fraction. |

`get_bb_ratio` |
Returns the Bright Band ratio of each PR bin |