Blame view

src/idl/dustem_write_calor.pro 403 Bytes
427f1205   Jean-Michel Glorian   version 4.2 merged
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
PRO dustem_write_calor,file,st

sst='-- CAPACITE CALORIFIQUE DES GRAINS DE POUSSIERE ------------'

OPENW,unit,file,/get_lun

printf,unit,sst

Ntypes=n_elements(st)
;frmt="(11E15.5)"

FOR i=0L,Ntypes-1 DO BEGIN
  printf,unit,st(i).st
  Nel=n_elements(*st(i).lnc)
  FOR j=0L,Nel-1 DO BEGIN
    printf,unit,(*st(i).lnT)(j),(*st(i).lnc)(j)
  ENDFOR
  printf,unit,' '
ENDFOR

CLOSE,unit
free_lun,unit

END