Ok, intermediate step - now at least have this information:
Ok, intermediate step - now at least have this information:

12287_1_E1_0##.img WAVE1 5.0 s/degree
12287_1_E2_0##.img WAVE2 5.0 s/degree

Next need to see if I can group some of the more awkward examples...

xia2/xia2,xia2/xia2