bands#

Band module containing:

  • wrapper for SAR and optical bands

  • Index definitions

  • Aliases for all these useful variables

To use it, simply type:

>>> from eoreader.bands import *
>>> GREEN
<SpectralBandNames.GREEN: 'GREEN'>
>>> HH
<SarBandNames.HH: 'HH'>
>>> NDVI
<function NDVI at 0x00000261F6FFA950>

Functions

is_sat_band(band)

Returns True if is a band (from both SarBandNames or SpectralBandNames)

to_band(to_convert)

Convert a string (or real value) to any alias, band or index.

to_str(to_convert)

Convert a string (or real value) to any alias, band or index.

Modules

eoreader.bands.bands

Bands

eoreader.bands.cloud_bands

Cloud Bands

eoreader.bands.dem_bands

DEM Bands

eoreader.bands.indices

Set of usual spectral indices.

eoreader.bands.sar_bands

SAR Bands

eoreader.bands.spectral_bands

Spectral Bands