is_thermal_band#

is_thermal_band(band: Any) bool[source]#

Returns True if is a spectral and a thermal band (from SpectralBandNames)

>>> from eoreader.bands import *
>>> is_spectral_band(NDVI)
False
>>> is_spectral_band(HH)
False
>>> is_spectral_band(GREEN)
True
>>> is_spectral_band(SLOPE)
False
>>> is_spectral_band(CLOUDS)
False
Parameters

band (Any) – Anything that could be an optical band

Returns

True if the band asked is an optical band

Return type

bool