pyrad.proc.process_occurrence_period#
- pyrad.proc.process_occurrence_period(procstatus, dscfg, radar_list=None)[source]#
computes the frequency of occurrence over a long period of time by adding together shorter periods
- 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, must contain, "occurence" and, "nsamples" 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
radar_list (list of Radar objects) – Optional. list of radar objects
- Returns:
new_dataset (dict) – dictionary containing the output fields “occurence” and “nsamples”
ind_rad (int) – radar index