Skip to content

Commit

Permalink
Update imagery/i.atcorr/create_iwave.py
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
pesekon2 and github-actions[bot] authored Oct 26, 2024
1 parent 6aef1bc commit 6192782
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion imagery/i.atcorr/create_iwave.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ def get_max_wavelength(c, rthresh, fi):
:param fi: filter function
"""
while c < len(fi) - 1 and fi[c + 1] > rthresh:
c = c + 1
c += 1
return np.floor(li[0] * 1000 + (2.5 * c))

# keep in sync with IWave::parse()
Expand Down

0 comments on commit 6192782

Please sign in to comment.