Commit 6e97b9fe42b75d68f68b139738791795d8f1f949
1 parent
8b51dadc
Exists in
master
forced reading dustem results as double
Showing
1 changed file
with
5 additions
and
2 deletions
Show diff stats
src/idl/dustem_read_dustem_lv.pro
... | ... | @@ -46,7 +46,7 @@ FUNCTION dustem_read_dustem_lv,file,silent=silent,help=help |
46 | 46 | ; None |
47 | 47 | ; |
48 | 48 | ; RESTRICTIONS: |
49 | -; The DustEMWrap idl code must be installed | |
49 | +; The DustEMWrap IDL code must be installed | |
50 | 50 | ; |
51 | 51 | ; PROCEDURE: |
52 | 52 | ; None |
... | ... | @@ -87,10 +87,13 @@ Ngrains=vv[0] |
87 | 87 | |
88 | 88 | ;Read model output |
89 | 89 | instruc='readcol,file,wav,' |
90 | +fstr=strarr(Ngrains) & fstr[*]='D,' | |
91 | +format_str='D,'+strjoin(fstr)+'D' | |
90 | 92 | FOR i=0L,Ngrains-1 DO BEGIN |
91 | 93 | instruc=instruc+'em_grain_'+strtrim(i+1,2)+',' |
92 | 94 | ENDFOR |
93 | -instruc=instruc+'em_tot,silent=silent' | |
95 | +instruc=instruc+"em_tot,silent=silent,format='"+format_str+"'" | |
96 | +stop | |
94 | 97 | message,'Executing '+instruc,/continue |
95 | 98 | toto=execute(instruc) |
96 | 99 | ... | ... |