pyrad.proc.process_traj_lightning#

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

Return time series according to lightning 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
    data_is_log : dict. Dataset keyword
        Dictionary specifying for each field if it is in log (True) or
        linear units (False). Default False
    ang_tol : float. Dataset keyword
        Factor that multiplies the angle resolution. Used when determining
        the neighbouring rays. Default 1.2
    az_tol, el_tol : float
        azimuth and elevation tolerance (deg). Samples that have values
        beyond this tolerance from the limits in azimuth and elevation of
        the radar will be considered outside the sector. Default 3.
    
  • radar_list (list of Radar objects) – Optional. list of radar objects

  • trajectory (Trajectory object) – containing trajectory samples

Returns:

  • trajectory (Trajectory object) – Object holding time series

  • ind_rad (int) – radar index