pyrad.util.get_ROI#

pyrad.util.get_ROI(radar, fieldname, sector)[source]#

filter out any data outside the region of interest defined by sector

Parameters:
  • radar (radar object) – the radar object where the data is

  • fieldname (str) – name of the field to filter

  • sector (dict) – a dictionary defining the region of interest

Returns:

roi_flag (ndarray) – a field array with ones in gates that are in the Region of Interest