9 implicit real*8 (a-h,o-z)
10 include
'common_all.cmn'
11 real*8 fiit(4,50,46),tempa(4,50,46),tempb(4,50,46),tempc(4,50,46)
12 real*8 tss(4,50,46),temph(4,50,46),tempg(4,50,46)
13 real*8 glint_diff(4,50,46),tempd(4,50,46)
33 pflx0=(eo(1)+eo(2))*bmu(kkx)
46 tempa(is,itt,ip)=tempa(is,itt,ip)+
47 1 txx(ms,ip,kkx,it)*eo(k)
66 sangi=dabs(dmu(itp))*ddphi
70 if(ipp.gt.jpart)jpp=nophi-jpp+2
71 if(jpx.gt.jpart)jpx=nophi-jpx+2
73 fiit(i,itp,jpp)=
fio(i,itp,jpp)
74 fiit(i+2,itp,jpp)=
fio(i+2,itp,jpp)
75 if(ipp.gt.jpart)fiit(i+2,itp,jpp)=
81 prodt3a=prodt3a+txx(m,jpx,itp,it)*fiit(k,itp,jpp)
83 tempc(is,itt,ip)=tempc(is,itt,ip)+prodt3a*sangi
96 fglint(k,i,j)=tempa(k,i,j)
106 sang=dabs(dmus2(i))*ddphi
109 tss(k,i,j)=tempa(k,i,j)+tempc(k,i,j)
118 albdtot=(flxza+flxzc)/pflx
119 albrdr(ksza)=flxza/pflx
120 albrdf(ksza)=flxzc/pflx
138 if(j.eq.1 .or. j.eq.jpart)
then
139 qsumz=qsumz+radxi(i,j)
141 qsumz=qsumz+2.0d0*radxi(i,j)
144 qsumzz=qsumzz+qsumz*dabs(dmus2(i))*ddphi
148 176
format(
'flux of the waterleavin radiance',1pe12.4)
154 fio(ks,it,ip)=(1.0d0-fracfm)*tss(ks,it,ip)+
155 1 0.5d0*xifm+0.5d0*radxi(it,ip)
157 fio(ks,it,ip)=(1.0d0-fracfm)*tss(ks,it,ip)
166 raddir(ksza,itp,ip)=tempa(1,it,ip)+tempa(2,it,ip)
167 radocn(ksza,itp,ip)=radxi(it,ip)
168 radsky(ksza,itp,ip)=tempc(1,it,ip)+tempc(2,it,ip)