is_sar_band#
- is_sar_band(band: str | SpectralBandNames | SarBandNames | CloudsBandNames | DemBandNames | BandNames) bool [source]#
Returns True if is a SAR band (from
SarBandNames
)- Parameters:
band (BandType) – Anything that could be a SAR band
- Returns:
True if the band asked is a SAR band
- Return type:
Examples
>>> from eoreader.bands import NDVI, HH, GREEN, SLOPE, CLOUDS >>> >>> 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