dustem_write_calor_lv.pro
305 Bytes
PRO dustem_write_calor_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