dustem_write_qabs_lv.pro 304 Bytes
PRO dustem_write_qabs_lv,dir,st

;== This a bypass. Just copies the file
Nel=n_elements(st)

FOR i=0,Nel-1 Do BEGIN
  file=(*st(i)).file
  fv=str_sep(file,'/')
  ffile=fv(n_elements(fv)-1)
  spawn_str='cp '+(*st(i)).file+' '+dir+ffile
  spawn,spawn_str
;  message,'Copied :'+spawn_str,/info
ENDFOR

END