Skip to content

Commit

Permalink
Merge pull request #218 from juanchossn/dev
Browse files Browse the repository at this point in the history
#213, Bug Fix: L11 and O23
  • Loading branch information
oceancolorcoder authored Jul 24, 2024
2 parents 2e0d4ea + 4f85100 commit 919d7f4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Source/ocbrdf/brdf_model_L11.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ def backward(self, ds, iter_brdf):
Rrs665_ = 1.27*np.power(Rrs560, 1.47) + 0.00018*np.power(Rrs490/Rrs560,-3.19)
# Redefine Rrs665 and Rrs[bands=b665] (both important for computations below)
Rrs665 = xr.where(mask, Rrs665_, Rrs665)
Rrs.loc[dict(bands=665)] = Rrs665
Rrs.loc[dict(bands=b665)] = Rrs665

# Calculate rrs below water for absorption computation
rrs = Rrs / (0.52 + 1.7*Rrs)
Expand Down
2 changes: 1 addition & 1 deletion Source/ocbrdf/brdf_model_O23.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ def backward(self, ds, iter_brdf):
Rrs665_ = 1.27*np.power(Rrs560, 1.47) + 0.00018*np.power(Rrs490/Rrs560,-3.19)
# Redefine Rrs665 and Rrs[bands=b665] (both important for computations below)
Rrs665 = xr.where(mask, Rrs665_, Rrs665)
Rrs.loc[dict(bands=665)] = Rrs665
Rrs.loc[dict(bands=b665)] = Rrs665
#"""

# Calculate rrs below water for absorption computation
Expand Down

0 comments on commit 919d7f4

Please sign in to comment.