the confuse about phase function of aerosol model
the confuse about phase function of aerosol model
In aerosol.c of l2gen, the model_phase() can return phase. the one part of the code is as follows. I can't find the definition of splint() in all code, so I guess it returns a volume scattering function (phase) of aerosol lookup table according to scatter angle and wavelength. I am very confuse about "phase[im][iw] = exp(phase1) +exp(phase2)*(fres1[ig] + fres2[ig])". Why is it an exponential function of phase1 and phase2? if phase1 or phase2 is greater than 300 or 400, the result of the exponential function will be extremely great. Is there any literature or explanation? Thanks!
/* compute phase function for this geometry, all models */
for (iw = 0; iw < aertab>nwave; iw++) {
ig = gmult * iw;
splint(aertab>scatt,
&aertab>model[im]>lnphase[iw][0],
&aertab>model[im]>d2phase[iw][0],
aertab>nscatt, scatt1[ig], &phase1);
splint(aertab>scatt,
&aertab>model[im]>lnphase[iw][0],
&aertab>model[im]>d2phase[iw][0],
aertab>nscatt, scatt2[ig], &phase2);
// incident diffuse reflected diff dir
phase[im][iw] = exp(phase1) +
exp(phase2)*(fres1[ig] + fres2[ig]);
}
/* compute phase function for this geometry, all models */
for (iw = 0; iw < aertab>nwave; iw++) {
ig = gmult * iw;
splint(aertab>scatt,
&aertab>model[im]>lnphase[iw][0],
&aertab>model[im]>d2phase[iw][0],
aertab>nscatt, scatt1[ig], &phase1);
splint(aertab>scatt,
&aertab>model[im]>lnphase[iw][0],
&aertab>model[im]>d2phase[iw][0],
aertab>nscatt, scatt2[ig], &phase2);
// incident diffuse reflected diff dir
phase[im][iw] = exp(phase1) +
exp(phase2)*(fres1[ig] + fres2[ig]);
}
Tags:
Re: the confuse about phase function of aerosol model
(1) Splint () returns the phase function interpolated from LUTs using the scattering angle (scatt1[ig]).
(2) The reason for the exponential function is that before the interpolation, the phase function in the LUTs is transformed to log(phase). So after interpolation, the phase function need to be transformed back. You may not see that big interpolated value (300 or 400) since the interpolation is based on log(phase).
Minwei
(2) The reason for the exponential function is that before the interpolation, the phase function in the LUTs is transformed to log(phase). So after interpolation, the phase function need to be transformed back. You may not see that big interpolated value (300 or 400) since the interpolation is based on log(phase).
Minwei
Re: the confuse about phase function of aerosol model
THANKS for your help！ I was really anxious before your replying.
But, the big interpolated values exist in some LUTs（for example：aerosol_modist_r30f00v01.hdf, please see attachment）. why?
But, the big interpolated values exist in some LUTs（for example：aerosol_modist_r30f00v01.hdf, please see attachment）. why?
 Attachments

 a part of phase function in aerosol_modist_r30f00v01.hdf
 aerosol_modist_r30f00v01.png (45.21 KiB) Not viewed yet
Re: the confuse about phase function of aerosol model
You need to transform these big values in the LUTs to log(). These log transformed values are then used for the interpolation. The interpolated value is then transformed back using exp().
Minwei
Minwei