pyrad.proc.process_gc_monitoring#

pyrad.proc.process_gc_monitoring(procstatus, dscfg, radar_list=None)[source]#

computes ground clutter monitoring statistics

Parameters:
  • procstatus (int) – Processing status: 0 initializing, 1 processing volume, 2 post-processing

  • dscfg (dictionary of dictionaries) –

    data set configuration. Accepted Configuration Keywords:

    excessgatespath : str. Config keyword
        The path to the gates in excess of quantile location
    excessgates_fname : str. Dataset keyword
        The name of the gates in excess of quantile file
    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
    step : float. Dataset keyword
        The width of the histogram bin. Default is None. In that case the
        default step in function get_histogram_bins is used
    regular_grid : Boolean. Dataset keyword
        Whether the radar has a Boolean grid or not. Default False
    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 (Radar) – radar object containing histogram data with fields corresponding to specified datatypes

  • ind_rad (int) – radar index