addSuffix#
- geetools.ee_image.ImageAccessor.addSuffix(suffix, bands=[])#
Add a suffix to the image selected band.
Add a suffix to the selected band. If no band is specified, the suffix is added to all bands.
- Parameters:
- Returns:
The image with the suffix added to the selected bands.
- Return type:
Examples
import ee, geetools ee.Initialize() image = ee.Image('COPERNICUS/S2_SR_HARMONIZED/20200101T100319_20200101T100321_T32TQM') image = image.geetools.addSuffix('_suffix') print(image.bandNames().getInfo())