pyart.util.colocated_gates2#

pyart.util.colocated_gates2(radar1, radar2, distance_upper_bound=1000.0, coloc_gates_field=None)[source]#

Flags radar gates of radar1 co-located with radar2. Uses nearest neighbour calculation with cKDTree :Parameters: * radar1 (Radar) – radar object that is going to be flagged

  • radar2 (Radar) – radar object

  • distance_upper_bound (float) – upper bound of the distance between neighbours (m)

  • coloc_gates_field (string) – Name of the field to retrieve the data

Returns:

  • coloc_dict (dict) – a dictionary containing the colocated positions of radar 1 (ele, azi, rng) and radar 2

  • coloc_rad1 – field with the colocated gates of radar1 flagged, i.e: 1: not colocated gates 2: colocated (0 is reserved)