Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tools: FIxed unused variable in imagery/ #4487

Merged
merged 1 commit into from
Oct 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .flake8
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ per-file-ignores =
# E741 ambiguous variable name 'l'
__init__.py: F401, F403
man/build_html.py: E501
imagery/i.atcorr/create_iwave.py: F632, F821, W293
doc/python/m.distance.py: E501
doc/gui/wxpython/example/dialogs.py: F401
gui/scripts/d.wms.py: E501
Expand Down
2 changes: 1 addition & 1 deletion imagery/i.atcorr/create_iwave.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ def write_cpp(bands, values, sensor, folder):
while c < len(fi) - 1 and fi[c + 1] > rthresh:
c += 1
max_wavelength = np.floor(li[0] * 1000 + (2.5 * c))
print(" %s (%inm - %inm)" % (bands[b], min_wavelength, max_wavelength))
print(" %s (%inm - %inm)" % (bands[0], min_wavelength, max_wavelength))

else:
filter_f = []
Expand Down
Loading