pyrad.proc.process_spectra_point#

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

Obtains the spectra or IQ data at a point location.

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
        The data type where we want to extract the point measurement
    single_point : boolean. Dataset keyword
        if True only one gate per radar volume is going to be kept.
        Otherwise all gates within the azimuth and elevation tolerance
        are going to be kept. This is useful to extract all data from
        fixed pointing scans. Default True
    latlon : boolean. Dataset keyword
        if True position is obtained from latitude, longitude information,
        otherwise position is obtained from antenna coordinates
        (range, azimuth, elevation). Default False
    truealt : boolean. Dataset keyword
        if True the user input altitude is used to determine the point of
        interest.
        if False use the altitude at a given radar elevation ele over the
        point of interest. Default True
    lon : float. Dataset keyword
        the longitude [deg]. Use when latlon is True.
    lat : float. Dataset keyword
        the latitude [deg]. Use when latlon is True.
    alt : float. Dataset keyword
        altitude [m MSL]. Use when latlon is True. Default 0.
    ele : float. Dataset keyword
        radar elevation [deg]. Use when latlon is False or when latlon is
        True and truealt is False
    azi : float. Dataset keyword
        radar azimuth [deg]. Use when latlon is False
    rng : float. Dataset keyword
        range from radar [m]. Use when latlon is False
    AziTol : float. Dataset keyword
        azimuthal tolerance to determine which radar azimuth to use [deg].
        Default 0.5
    EleTol : float. Dataset keyword
        elevation tolerance to determine which radar elevation to use
        [deg]. Default 0.5
    RngTol : float. Dataset keyword
        range tolerance to determine which radar bin to use [m]. Default
        50.
    
  • radar_list (list of Radar objects) – Optional. list of radar objects

Returns:

  • new_dataset (dict) – dictionary containing the data and metadata at the point of interest

  • ind_rad (int) – radar index