pyrad.proc.process_pixel_filter#

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

Masks all pixels that are not of the class specified in keyword pixel_type

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

  • dscfg (dictionary of dictionaries) –

    data set configuration. Accepted Configuration Keywords:

    pixel_type : int or list of ints
        The type of pixels to keep: 0 No data, 1 Below threshold, 2 Above
        threshold. Default 2
    
  • radar_list (list of Radar objects) – Optional. list of radar objects

Returns:

  • new_dataset (dict) – dictionary containing the output

  • ind_rad (int) – radar index