QAA source code of l2gen
QAA source code of l2gen
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
Filters:
QAA source code of l2gen
Hi Toru,
I agree that as per the QAA v5/v6 documentation, the reflectance terms in lines 241-242 and 327-328 probably should be sub-surface and not above-water reflectances. I shall look into this further.
Best regards,
Lachlan
I agree that as per the QAA v5/v6 documentation, the reflectance terms in lines 241-242 and 327-328 probably should be sub-surface and not above-water reflectances. I shall look into this further.
Best regards,
Lachlan
QAA source code of l2gen
Hi - You might also have a look at https://oceancolor.gsfc.nasa.gov/forum/oceancolor/topic_show.pl?pid=38558
QAA source code of l2gen
Thanks Barry, for the notice. Equation for the Rrs(670)>0.0015 sr-1 seems to be corrected. Toru