;+
;  NAME:
;          IRISl12_shiftaia_wrapper
;
;  PURPOSE:
;         Take a abspath with an IRIS obs and pass all the level2 fits files to IRISl12_shiftaia
;        Note the production in an obspool will probably want
;       09-Dec-2018 - R. Timmons, basic version
;       22-Mar-2020 - R. Timmons, add /loud since Paul added that to irisl12_shiftaia.
;



pro IRISl12_shiftaia_wrapper, path

  allfiles = file_search(path + 'iris_l2*fits', /FULLY_QUALIFY_PATH)
  ;ssr=where(strmatch(allfiles,))
                                ;allfits=allfiles[ssr]
  allfits = allfiles
  ;stop
  irisl12_shiftaia, allfits, /loud

end
