eoreader.bands.alias.is_sat_band

eoreader.bands.alias.is_sat_band

is_sat_band(band: Any) bool[source]

Returns True if is a band (from both arBandNames or pticalBandNames)

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

band (Any) – Anything that could be a band

Returns

True if the band asked is a band

Return type

bool