Home > atmlab > mie > miecoated_rain4.m

miecoated_rain4

PURPOSE ^

Extinction, scattering, absorption, backscattering and

SYNOPSIS ^

function result = miecoated_rain4(coat, R, TK, fmin, fmax, nfreq)

DESCRIPTION ^

 Extinction, scattering, absorption, backscattering and 
 asymmetric scattering coefficients in 1/km for Marshall-Palmer 
 (MP) drop-size distribution (Sauvageot et al. 1992),
 versus frequency of water-coated ice spheres (melting ice)
 with constant thickness 'coat' of the coating, using Mie Theory,
 the dielectric model of Liebe et al. 1991 for water and
 of M�zler (1998) for ice.
 Input:
 coat: thickness of coating in mm, 
 R: rain rate in mm/h, TK: Temp. in K, 
 fmin, fmax: minimum and maximum frequency in GHz
 nfreq: Number of frequencies 
 C. M�zler, June 2002.

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

DOWNLOAD ^

miecoated_rain4.m

SOURCE CODE ^

0001 function result = miecoated_rain4(coat, R, TK, fmin, fmax, nfreq)
0002 
0003 % Extinction, scattering, absorption, backscattering and
0004 % asymmetric scattering coefficients in 1/km for Marshall-Palmer
0005 % (MP) drop-size distribution (Sauvageot et al. 1992),
0006 % versus frequency of water-coated ice spheres (melting ice)
0007 % with constant thickness 'coat' of the coating, using Mie Theory,
0008 % the dielectric model of Liebe et al. 1991 for water and
0009 % of M�zler (1998) for ice.
0010 % Input:
0011 % coat: thickness of coating in mm,
0012 % R: rain rate in mm/h, TK: Temp. in K,
0013 % fmin, fmax: minimum and maximum frequency in GHz
0014 % nfreq: Number of frequencies
0015 % C. M�zler, June 2002.
0016 
0017 opt=1;
0018 nsteps=501;                  % number of drop-diameter values
0019 N0=0.08/10000;               % original MP N0 in 1/mm^4
0020 fact=(fmax/fmin)^(1/(nfreq-0.99999));
0021 fGHz=fmin/fact;
0022 nx=(1:nsteps)';
0023 c0=299.793;
0024 for jr = 1:nfreq
0025     fGHz=fGHz*fact;
0026     m2=sqrt(epswater(fGHz, TK));
0027     m1=sqrt(epsice(fGHz, TK));
0028     dD=0.01*R^(1/6)/fGHz^0.05;
0029     D=(nx-0.5)*dD;
0030     y=pi*D*fGHz/c0;
0031     dxcoat=2*pi*coat.*fGHz/c0;
0032     x=max(0,y-dxcoat);
0033     sigmag=pi*D.*D/4;
0034     LA=4.1/R^0.21;
0035     NMP=N0*exp(-LA*D);       % MP distribution
0036     sn=sigmag.*NMP*1000000;
0037     for j = 1:nsteps    
0038         a(j,:)=miecoated(m1,m2,x(j),y(j),opt);
0039     end;
0040     b(:,1)=D;             b(:,2)=a(:,1).*sn;   
0041     b(:,3)=a(:,2).*sn;    b(:,4)=a(:,3).*sn;
0042     b(:,5)=a(:,4).*sn;   b(:,6)=a(:,2).*a(:,5).*sn; 
0043     gext= sum(b(:,2))*dD;    gsca= sum(b(:,3))*dD;
0044     gabs= sum(b(:,4))*dD;    gb=   sum(b(:,5))*dD;
0045     gteta=sum(b(:,6))*dD;
0046     res(jr,:)=[fGHz gext gsca gabs gb gteta];
0047 end;
0048 output_parameters='Gext, Gsca, Gabs, Gb, Gsca<costeta>'
0049 loglog(res(:,1),res(:,2:6))
0050 legend('Gext','Gsca','Gabs','Gb','Gsca<costeta>')
0051 title(sprintf('Spectra of Rain Consisting of Water-Coated Ice at R=%gmm/h, T=%gK, coat=%gmm',R,TK,coat))
0052 xlabel('f (GHz)');    ylabel('Gi(1/km)')
0053 result=res;

Generated on Mon 15-Sep-2014 13:31:28 by m2html © 2005