pyrad.proc.process_icon#

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

Gets icon data and put it in radar coordinates

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

  • dscfg (dictionary of dictionaries) –

    data set configuration. Accepted Configuration Keywords:

    datatype : string. Dataset keyword
        arbitrary data type
    keep_in_memory : int. Dataset keyword
        if set keeps the icon data dict, the icon coordinates dict and
        the icon field in radar coordinates in memory
    regular_grid : int. Dataset keyword
        if set it is assume that the radar has a grid constant in time and
        there is no need to compute a new icon field if the icon
        data has not changed
    icon_type : str. Dataset keyword
        name of the icon field to process. Default TEMP
    icon_variables : list of strings. Dataset keyword
        Py-art name of the icon fields. Default temperature
    
  • radar_list (list of Radar objects) – Optional. list of radar objects

Returns:

  • new_dataset (dict) – dictionary containing the output

  • ind_rad (int) – radar index