pyrad.proc.process_traj_trt#

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

Processes data according to TRT trajectory

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.
    alt_min, alt_max : float. Dataset keyword
        Minimum and maximum altitude of the data inside the TRT cell to
        retrieve [m MSL]. Default None
    cell_center : Bool. Dataset keyword
        If True only the range gate closest to the center of the cell is
        extracted. Default False
    latlon_tol : Float. Dataset keyword
        Tolerance in lat/lon when extracting data only from the center of
        the TRT cell. Default 0.01
    
  • radar_list (list of Radar objects) – Optional. list of radar objects

  • trajectory (Trajectory object) – containing trajectory samples

Returns:

  • new_dataset (dictionary) – Dictionary containing radar_out, a radar object containing only data from inside the TRT cell

  • ind_rad (int) – radar index