pyrad.proc.process_grid_point#

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

Obtains the grid 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
    latlon : boolean. Dataset keyword
        if True position is obtained from latitude, longitude information,
        otherwise position is obtained from grid index (iz, iy, ix).
    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.
    iz, iy, ix : int. Dataset keyword
        The grid indices. Use when latlon is False
    latlonTol : float. Dataset keyword
        latitude-longitude tolerance to determine which grid point to use
        [deg]
    altTol : float. Dataset keyword
        Altitude tolerance to determine which grid point to use [deg]
    
  • 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