pyrad.proc.process_traj_trt_contour#

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

Gets the TRT cell contour corresponding to each radar volume

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, can be any datatype supported by pyrad
        and available in the radar data
    time_tol : float. Dataset keyword
        tolerance between reference time of the radar volume and that of
        the TRT cell [s]. Default 100.
    
  • radar_list (list of Radar objects) – Optional. list of radar objects

  • trajectory (Trajectory object) – containing trajectory samples

Returns:

  • new_dataset (dict) – Dictionary containing radar_out and roi_dict. Radar out is the current radar object. roi_dict contains the positions defining the TRT cell contour

  • ind_rad (int) – radar index