In Earth Engine how can the bands generated through a stacking of an ImageCollection to a a multi-band image be named after the corresponding month-year?
I use the following code to stack the ImageCollection, but the bands are simply named sequentially with integer numbers.
def stackCollection(collection):
first = ee.Image(collection.first()).select([])
def appendBands(image, previous):
return ee.Image(previous).addBands(image)
return ee.Image(collection.iterate(appendBands, first))
stacked = stackCollection(imageCollection)