this code finds the subpref for each antenae -- where it is located