pyart.util.intersection#

pyart.util.intersection(radar1, radar2, h_tol=0.0, latlon_tol=0.0, vol_d_tol=None, vismin=None, hmin=None, hmax=None, rmin=None, rmax=None, elmin=None, elmax=None, azmin=None, azmax=None, visib_field=None, intersec_field=None)[source]#

Flags region of radar1 that is intersecting with radar2 and complies with criteria regarding visibility, altitude, range, elevation angle and azimuth angle :Parameters: * radar1 (Radar) – radar object that is going to be flagged

  • radar2 (Radar) – radar object checked for intersecting region

  • h_tol (float) – tolerance in altitude [m]

  • latlon_tol (float) – latitude and longitude tolerance [decimal deg]

  • vol_d_tol (float) – pulse volume diameter tolerance [m]

  • vismin (float) – minimum visibility [percentage]

  • hmin, hmax (floats) – min and max altitude [m MSL]

  • rmin, rmax (floats) – min and max range from radar [m]

  • elmin, elmax (floats) – min and max elevation angle [deg]

  • azmin, azmax (floats) – min and max azimuth angle [deg]

Returns:

intersec_rad1_dict (dict) – the field with the gates of radar1 in the same region as radar2 flagged, i.e.: 1 not intersecting, 2 intersecting, 0 is reserved