Ocean Color Forum

The forum is locked.
The Ocean Color Forum has transitioned over to the Earthdata Forum (https://forum.earthdata.nasa.gov/). The information existing below will be retained for historical reference. Please sign into the Earthdata Forum for active user support.
Topic Products and Algorithms / Satellite Data Products & Algorithms / Need clarification on the L2 product: Surface reflectance (get_rhos.c)
Link for get_rhos.c:
https://oceancolor.gsfc.nasa.gov/docs/ocssw/get__rhos_8c_source.html
As per the get_rhos.c, the surface reflectance is calculated in the presence of cirrus cloud as follows,
l1rec->rhos[ipb] = pi / l1rec->Fo[ib] / mu0 * ((l1rec->Lt[ipb] / l1rec->tg_sol[ipb] / l1rec->tg_sen[ipb]- l1rec->Lr[ipb]) - l1rec->rho_cirrus[ip] / Ka)/ l1rec->t_sol[ipb] / l1rec->t_sen[ipb] / l1rec->t_o2[ipb] / l1rec->t_h2o[ipb];
In the above equation, How the radiance term (Lt-Lr) will be subtracted by cirrus reflectance (rho_cirrus). Because both radiance and reflectance terms are different quantities, I think there might be an error in the code (cirrus condition).
Kindly check the attachment and clarify the steps involving in the rhos calculation under cirrus condition with appropriate reference.
Thanks and regards,
Harish Kumar K S
https://oceancolor.gsfc.nasa.gov/docs/ocssw/get__rhos_8c_source.html
As per the get_rhos.c, the surface reflectance is calculated in the presence of cirrus cloud as follows,
l1rec->rhos[ipb] = pi / l1rec->Fo[ib] / mu0 * ((l1rec->Lt[ipb] / l1rec->tg_sol[ipb] / l1rec->tg_sen[ipb]- l1rec->Lr[ipb]) - l1rec->rho_cirrus[ip] / Ka)/ l1rec->t_sol[ipb] / l1rec->t_sen[ipb] / l1rec->t_o2[ipb] / l1rec->t_h2o[ipb];
In the above equation, How the radiance term (Lt-Lr) will be subtracted by cirrus reflectance (rho_cirrus). Because both radiance and reflectance terms are different quantities, I think there might be an error in the code (cirrus condition).
Kindly check the attachment and clarify the steps involving in the rhos calculation under cirrus condition with appropriate reference.
Thanks and regards,
Harish Kumar K S
Attachment: rhos_calculationeqns.PNG (38k)
Please explain the calculation of the surface reflectance for cirrus condition.
The code used surface reflectance get_rhos.c has some issue for estimating surface reflectance under cirrus case.
I have already posted my query in the forum, but I didn't get a response. I am eagerly waiting for your reply.
The code used surface reflectance get_rhos.c has some issue for estimating surface reflectance under cirrus case.
I have already posted my query in the forum, but I didn't get a response. I am eagerly waiting for your reply.
The code you list is wrapped in an
Regards,
Sean
if (cirrus_opt)
block. The use of the cirrus reflectance in the estimation of rhos is an experimental feature that is not used operationally. You would have to explicitly set cirrus_opt=1 in the call to l2gen for it to be used. That said, as I read the code, it is correct. The rhos product is surface reflectance. The Lt-Lr radiance is converted to reflectance (the pi / l1rec->Fo[ib] / mu0
bit) , from which the cirrus reflectance is subtracted (or would be if you set cirrus_opt=1).Regards,
Sean
Topic Products and Algorithms / Satellite Data Products & Algorithms / Need clarification on the L2 product: Surface reflectance (get_rhos.c)
Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill