Skip to content

Commit

Permalink
Bug fix: correct expression of unc(nLw).
Browse files Browse the repository at this point in the history
  • Loading branch information
JuanIgnacio.Gossn authored and JuanIgnacio.Gossn committed Oct 30, 2023
1 parent 44a12af commit 95e8845
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/ProcessL2.py
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,7 @@ def spectralReflectance(node, sensor, timeObj, xSlice, F0, F0_unc, rhoScalar, rh
nLw = rrs*f0 # need to chop the keys to match Z17 output

# nLw uncertainty;
nLwUNC[k] = np.power((rrsUNC[k]*f0)**2 + f0UNC**2, 0.5)
nLwUNC[k] = np.power((rrsUNC[k]*f0)**2 + (rrs*f0UNC)**2, 0.5)

newESData.columns[k].append(es)
newLIData.columns[k].append(li)
Expand Down

0 comments on commit 95e8845

Please sign in to comment.