Commit 42004ff8728d1eeff0eb427d85d196a03768bcb4

Authored by Jean-Philippe Bernard
1 parent 19c45d4a
Exists in master

fixed bug due to change of geometry in the GAS.DAT file

Showing 1 changed file with 4 additions and 0 deletions   Show diff stats
src/idl/dustem_read_gas.pro
... ... @@ -91,7 +91,11 @@ CASE !dustem_which OF
91 91 st.nH=double(strv[ii]) & ii=ii+1
92 92 st.nH2=double(strv[ii]) & ii=ii+1
93 93 st.CR_rate=double(strv[ii]) & ii=ii+1
  94 + ;modified because the file geometry did change !!
  95 + ;st.G0=double(strv[ii]) & ii=ii+1
94 96 st.G0=double(strv[ii]) & ii=ii+1
  97 + readf,unit,str
  98 + strv=str_sep(strcompress(strtrim(str,2)),' ') & ii=0L
95 99 st.n_charges=long(strv[ii])
96 100 charges_st=replicate(one_charge_st,st.n_charges)
97 101 FOR i=0L,st.n_charges-1 DO BEGIN
... ...