Skip to content

Commit

Permalink
Add reference for sun zenith angle correciton
Browse files Browse the repository at this point in the history
  • Loading branch information
Nina.Hakansson committed Mar 6, 2024
1 parent ec720ac commit 072b695
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion level1c4pps/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -488,7 +488,11 @@ def update_angle_attributes(scene, band):


def apply_sunz_correction(scene, REFL_BANDS):
"""Apply sun zenith angle correciton to visual channels."""
"""Apply sun zenith angle correciton to visual channels.
Reference https://journals.ametsoc.org/view/journals/atsc/63/4/jas3682.1.xml
"""
sza = scene['sunzenith']
mu0 = np.cos(np.radians(sza))
scaler = 24.35 / (2 * mu0 + np.sqrt(498.5225 * mu0 * mu0 + 1))
Expand Down

0 comments on commit 072b695

Please sign in to comment.