QAA source code of l2gen
Posted: Sat Oct 10, 2020 11:14 pm America/New_York
I compared aph value of the QAA between l2gen and Excel file found in IOOCG web site using a same Rrs input.
Output from the excel file is different from l2gen output. So, I have looked through the QAA source code of l2gen.
https://oceancolor.gsfc.nasa.gov/docs/ocssw/qaa_8c_source.html
According to the pdf file "Update of the Quasi-Analytical Algorithm (QAA_v6)", the equations in the code,
numer = Rrs[idx440] + Rrs[idx490];
denom = Rrs[idx555] + 5 * Rrs[idx670]*(Rrs[idx670] / Rrs[idx490]);
in lines 241-242 and 327-328 might be
numer = rrs[idx440] + rrs[idx490];
denom = rrs[idx555] + 5 * rrs[idx670]*(rrs[idx670] / rrs[idx490]);
Thanks.
Toru
Output from the excel file is different from l2gen output. So, I have looked through the QAA source code of l2gen.
https://oceancolor.gsfc.nasa.gov/docs/ocssw/qaa_8c_source.html
According to the pdf file "Update of the Quasi-Analytical Algorithm (QAA_v6)", the equations in the code,
numer = Rrs[idx440] + Rrs[idx490];
denom = Rrs[idx555] + 5 * Rrs[idx670]*(Rrs[idx670] / Rrs[idx490]);
in lines 241-242 and 327-328 might be
numer = rrs[idx440] + rrs[idx490];
denom = rrs[idx555] + 5 * rrs[idx670]*(rrs[idx670] / rrs[idx490]);
Thanks.
Toru