bcdev / s3tbx-c2rcc

Case-2 Regional / Coast Colour AC+IOP Processor
GNU General Public License v3.0
5 stars 4 forks source link

Solve MERIS and OLCI angle problem #38

Closed marpet closed 7 years ago

marpet commented 7 years ago

The azimuth difference is not correctly computed. It should be like:

azi_diff_deg=abs(180+view_azi - sun_azi);
if azi_diff_deg > 180then
    azi_diff_deg =360-azi_diff_deg;
end