dustem_read_gemissiv.pro 596 Bytes
FUNCTION dustem_read_gemissiv,file,silent=silent

;        lambIR(k) = val(1)
;        qgra(k) = val(2)
;        qsi(k) = val(3)
;        qcar(k) = val(4)
;        qraiec(k) = val(5)
;        qraieh1(k) = val(6)
;        qraieh2(k) = val(7)

readcol,file,lambir,qgra,qsi,qcar,qcccat,qccneu,qchcat,qchneu,silent=silent

nlines=n_elements(lambir)

one_st={lambir:0.,qgra:0.,qsi:0.,qcar:0.,qcccat:0.,qccneu:0.,qchcat:0.,qchneu:0.}
st=replicate(one_st,Nlines)

st.lambir=lambir
st.qgra=qgra
st.qsi=qsi
st.qcar=qcar
st.qcccat=qcccat
st.qccneu=qccneu
st.qchcat=qchcat
st.qchneu=qchneu

return,st

END