pyrad.proc.process_gatefilter#
- pyrad.proc.process_gatefilter(procstatus, dscfg, radar_list=None)[source]#
filters out all available moments based on specified upper/lower bounds for moments based on the Py-ART gatefilter. Every value below upper bound or above upper bound will be filtered. To ignore lower/upper bound enter an impossible value such as -9999 or 9999.
- Parameters:
procstatus (int) – Processing status: 0 initializing, 1 processing volume, 2 post-processing
dscfg (dictionary of dictionaries) –
data set configuration. Accepted Configuration Keywords:
datatype : list of string. Dataset keyword The input data types, can be any any data type supported by pyrad, the number of datatypes must match the lower and upper bounds dimensions lower_bounds : list of float The list of lower bounds for every input data type upper_bounds : list of float The list of upper bounds for every input data type
radar_list (list of Radar objects) – Optional. list of radar objects
- Returns:
new_dataset (dict) – dictionary containing the output field, it will contain the corrected version of the provided datatypes For example dBZ -> dBZc, ZDR -> ZDRc, RhoHV -> RhoHVc
ind_rad (int) – radar index