pyrad.proc.process_time_stats#
- pyrad.proc.process_time_stats(procstatus, dscfg, radar_list=None)[source]#
computes the temporal statistics of a field
- 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 Arbitrary data type supported by pyrad and contained in the radar data period : float. Dataset keyword the period to average [s]. If -1 the statistics are going to be performed over the entire data. Default 3600. start_average : float. Dataset keyword when to start the average [s from midnight UTC]. Default 0. lin_trans: int. Dataset keyword If 1 apply linear transformation before averaging use_nan : bool. Dataset keyword If true non valid data will be used nan_value : float. Dataset keyword The value of the non valid data. Default 0 stat: string. Dataset keyword Statistic to compute: Can be mean, std, cov, min, max. Default mean
radar_list (list of Radar objects) – Optional. list of radar objects
- Returns:
new_dataset (dict) – dictionary containing the statistic computed on the input field, as well as “nsamples”, as well as “sum2” (sum-squared) if stat in (cov, std), as well as
ind_rad (int) – radar index