19 character*200,
intent(in) :: mie_table_name
22 type(mie),
intent(out) :: mt
27 integer*4 :: dummy_in(4)
29 open(51,file=mie_table_name,action=
'read')
33 if(dummy_in(1).ne. mt_nfreq .or. &
34 dummy_in(2).ne. mt_ntt .or. &
35 dummy_in(3).ne. mt_nf .or. &
36 dummy_in(4).ne. mt_nd)
then
38 print *,
'Mie file is of size :',dummy_in(:)
39 print *,
' expected a size of:',mt_nfreq, mt_ntt,mt_nf,mt_nf
40 print *,
' change paramters in radar_simulator_types.f90 ?? '
58 if (mt%phase(
i) == 0) cnt_liq = cnt_liq + 1
59 if (mt%phase(
i) == 1) cnt_ice = cnt_ice + 1
61 allocate(mt_ttl(cnt_liq),mt_tti(cnt_ice))
66 mt_tti(
i) = mt%tt(cnt_liq+
i)