to_str
to_str#
- to_str(to_convert: list) list [source]#
Convert a string (or real value) to any alias, band or index.
You can pass the name or the value of the bands.
>>> to_str(["NDVI", "GREEN", RED, "VH_DSPK", "SLOPE", DEM, "CLOUDS", CLOUDS]) ['NDVI', 'GREEN', 'RED', 'VH_DSPK', 'SLOPE', 'DEM', 'CLOUDS', 'CLOUDS']