I input each image and band and, created an Image Collection in GEE. However, each band is as "b1" and I want to rename in order that I created the Image Collection respectively as b1,b2,b3 and b4 .
I am trying as:
var mar_03 = ee.ImageCollection("users/nayaraestrabis/collection")
.select(ee.Image("users/nayaraestrabis/collection/image_band2")).select('b1').rename('b2')
and it didn't work. I am trying to do a function, but I don't know how to do using an Image Collection.