pyrad.proc.process_time_avg_std#
- pyrad.proc.process_time_avg_std(procstatus, dscfg, radar_list=None)[source]#
computes the average and standard deviation 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), "dBZ" or "dBZc" or "dBZv" or "dBZvc" or "dBuZ" or "dBuZc" (Optional, allows val_min) 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 reflectivity 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 lin_trans : Boolean. Dataset keyword If True the data will be transformed into linear units. Default False
radar_list (list of Radar objects) – Optional. list of radar objects
- Returns:
new_dataset (dict) – dictionary containing the average and standard deviation for every field specified as datatype
ind_rad (int) – radar index