Blame view

src/idl/dustem_write_qabs_lv.pro 304 Bytes
427f1205   Jean-Michel Glorian   version 4.2 merged
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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