pyrad.proc.process_occurrence#
- pyrad.proc.process_occurrence(procstatus, dscfg, radar_list=None)[source]#
computes the frequency of occurrence of data. It looks only for gates where data is present.
- 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, it must contain "echoID" (Optional allows filter_prec), as well as any other fields supported by pyrad regular_grid : Boolean. Dataset keyword Whether the radar has a Boolean grid or not. Default False rmin, rmax : float. Dataset keyword minimum and maximum ranges where the computation takes place. If -1 the whole range is considered. Default is -1 val_min : Float. Dataset keyword Minimum value to consider that the gate has signal. Default None filter_prec : str. Dataset keyword Give which type of volume should be filtered. None, no filtering; keep_wet, keep wet volumes; keep_dry, keep dry volumes. rmax_prec : float. Dataset keyword Maximum range to consider when looking for wet gates [m] percent_prec_max : float. Dataset keyword Maxim percentage of wet gates to consider the volume dry
radar_list (list of Radar objects) – Optional. list of radar objects
- Returns:
new_dataset (dict) – radar object containing frequency of occurence data with fields corresponding to specified datatypes
ind_rad (int) – radar index