is_sar_band

Contents

is_sar_band#

is_sar_band(band: Any) bool[source]#

Returns True if is a SAR band (from SarBandNames)

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

band (Any) – Anything that could be a SAR band

Returns:

True if the band asked is a SAR band

Return type:

bool