Skip to main content
deleted 3 characters in body
Source Link
xunilk
  • 30.2k
  • 4
  • 43
  • 82

I inputedinput 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 I am trying to do a function, but I don't know how to do using an Image Collection.

I inputed 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.

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.

deleted 45 characters in body
Source Link
PolyGeo
  • 65.4k
  • 29
  • 114
  • 345

I inputed 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.

I really need help with this. Thanks!!

I inputed 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.

I really need help with this. Thanks!!

I inputed 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.

Source Link

How rename each band of an Image Collection that I created in GEE?

I inputed 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.

I really need help with this. Thanks!!