I did some calculations on variety of image collections and have generated products and saved them in variables, say a, b and c. Now I want to combine all these products (All one bands) into a multiband image collection.
What function should i use?
I tried with:
a.combine(b).combine(c)
a.merge(b).merge(c)
a.add(b).add(c)
But, these functions are not working.
Best Answer
Assuming you made a unique name for each band, and that you want to obtain one image with 3 bands (one for
a
, one forb
and one forc
) you have toaddBands
, like this:link: https://code.earthengine.google.com/5c3ceef589fc8cbe6036f8f2ef22f2ca