# Data Quality¶

This module will serve two purposes:

1. provide routines to create simple radar data quality related fields.

2. 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.

 pulse_volume Calculates the sampling volume of the radar beam per bin depending on range and aperture. beam_block_frac Partial beam blockage fraction. cum_beam_block_frac Cumulative beam blockage fraction along a beam. get_bb_ratio Returns the Bright Band ratio of each PR bin