repeat#
- geetools.ImageAccessor.repeat(band, repeats)#
Repeat a band of the image.
- Parameters:
- Returns:
The image with the band repeated
- Return type:
Examples
import ee, geetools ee.Initialize() image = ee.ImageCollection("COPERNICUS/S2_SR_HARMONIZED").first() image = image.geetools.repeat('B1', 2) print(image.bandNames().getInfo())