PRO dustem_write_grain,file,st

;stop

message,'Obsolete',/continue
;stop

OPENW,unit,file,/get_lun

Ntypes=n_elements(st)

printf,unit,ntypes
FOR i=0L,Ntypes-1 DO BEGIN
  printf,unit,st(i).type,st(i).albmax,st(i).densgr,st(i).ngem,st(i).hydro,st(i).ioni
ENDFOR

close,unit
free_lun,unit

END