Skip to content

Commit

Permalink
resolved #1073
Browse files Browse the repository at this point in the history
  • Loading branch information
janzandr committed Jan 27, 2025
1 parent abd1e02 commit 7c797a4
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions enmapboxprocessing/rasterreader.py
Original file line number Diff line number Diff line change
Expand Up @@ -620,13 +620,9 @@ def wavelengthUnits(self, bandNo: int, guess=True) -> Optional[str]:
wavelength = self.wavelength(bandNo, raw=True)
if wavelength is not None:
if wavelength < 100:
msg = 'wavelength units missing, assuming Micrometers'
units = 'Micrometers'
else:
msg = 'wavelength units missing, assuming Nanometers'
units = 'Nanometers'
from enmapbox import messageLog
messageLog(msg, level=Qgis.MessageLevel.Warning)
return units

return None
Expand Down

0 comments on commit 7c797a4

Please sign in to comment.